From: Raveendran Jazzez Date: 2008-05-03T21:13:55+09:00 Subject: Re: Accessing Windows actions(Shutdow.Restart) > 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/.