> Try with backtick operator: > a = `ipconfig` > > If you want only IP Address, you can do something like this: > a = `ipconfig`.scan(/IP Address.+?: (.+)\r/).to_s > > Regards, > Park Heesob Hi Park, Fantastic idea from u. Thank a lot. Hi All, We will continue with more problems very soon..... Regards, P.Raveendran RailsFactory,Chennai. http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.