From: Raveendran Jazzez Date: 2008-05-03T21:02:17+09:00 Subject: Re: Accessing Windows actions(Shutdow.Restart) > Hi.. > I tried your code and all OK! > > Try this: > > def myIpConfig > system('ipconfig') // or puts system('ipconfig') > end > > myIpConfig // print your ip config Hi Luka, i did this already. But need to get in a single variable. I think it is not possible. Anyway thanks a lot .. Regards, P.Raveendran RailsFactory,Chennai. http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.