From: Raveendran Perumalsamy Date: 2010-02-10T19:24:00+09:00 Subject: Re: Can ruby do a repeated Reboot test script Hi, Step 1 --> Create 1 text file like sample.txt Content: 10 Step 2 --> Ruby program read the content from File. So its 10 now. Before going to restart the machine write the file content as : 9 and save the file. Step 2 help --> How to reboot machine ? http://raveendran.wordpress.com/2008/04/22/console-commands-in-rubywindows/ Step 3 --> Before run the program PUT the rb file into SETUP environment. I think it will works. Please update once after tried in this way. Thanks Raveendran http://raveendran.wordpress.com ryt! yrt! rty! ytr! try! -- Posted via http://www.ruby-forum.com/.