From: luka luka Date: 2008-05-03T21:12:36+09:00 Subject: Re: Accessing Windows actions(Shutdow.Restart) Raveendran Jazzez wrote: > 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 No no, it's possible, i tried: var = system('ipconfig') puts var and all is fine. try this: var = "#{system('ipconfig')}" puts "#{var}" I think it must work. -- Posted via http://www.ruby-forum.com/.