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/.