Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: exit windows
The first one automates all the IE5 installation, and the 2nd Winbatch script reads the WIN.ini file and places the 2nd WBT into the Load= line (or you could load it into the RunOnce part of the registry) so that it is run at next bootup.
The second one starts up once the machine is rebooted and continues on its merry way.
First.WBT FirstLoad=IniRead("windows", "load", "") ;save the original setting in www-prod.ini IniWritePvt("Windows", "load", firstload, "www-prod.ini") file=StrCat( firstload," ", FileNameShort("c:\aardvark\winbatch\exittest.wbt")) ;build the line IniWrite("windows", "load", file) ;write the new line in. IntControl(12,0,0,0,0) ;Turn off the Whine Patrol IntControl(66, 0,0,0,0) ;Exit Windows Exittest.WBT ; read the line previously saved. firstload=IniReadPvt("Windows", "Load", "", "www-prod.ini") IniWrite("Windows", "Load", firstload) ;write the old line back in.
Article ID: W13313
Filename: Exit Windows Come Back Same Place.txt
File Created: 2001:01:08:12:14:12
Last Updated: 2001:01:08:12:14:12