From: Raveendran Jazzez Date: 2008-05-03T18:57:03+09:00 Subject: Re: Accessing Windows actions(Shutdow.Restart) Hi All, I got simple solution. But need t sharp it. I got code to shutdown my machine, getting ipconfig in my machine etc..,(whatever possible to get via command prompt.) My Code: system('ipconfig') I got my IP Address. Problem: a= system('ipconfig') puts a I got only true. Please help to store the content in single variable. Regards, P.Raveendran RailsFactory,Chennai. http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.