From: luka luka Date: 2008-05-03T20:55:14+09:00 Subject: Re: Accessing Windows actions(Shutdow.Restart) Raveendran Jazzez wrote: > 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. Hi.. I tried your code and all OK! Try this: def myIpConfig system('ipconfig') // or puts system('ipconfig') end myIpConfig // print your ip config -- Posted via http://www.ruby-forum.com/.