Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Shutting down and Restarting Windows 3.1

Keywords:Shutting down and Restarting Windows 3.1  

Question:

Is there a way to shut down Windows (3.1), restart it and then to continue with the next line in the (Winbatch 5.0)script? RunExit is not what I want ;-(

Answer:

No easy way. When you shut down windows you shut down the script. The best you can do is add a new script on the run= or load = line in the win.ini file to use when you start up (and be sure to remove it afterwards - restoring the original state of the run= or load= line).

Or, put your WinBatch script in the Startup Group, (or in your StartUp folder in Windows 95).


Article ID:   W13459
Filename:   Shutting down Win 3.1.txt