Contents of the REBOOT.DOC file
This little ditty was written very quickly for a need to REBOOT
DESQview windows (closing them). You need about 48K free memory,
and you also need DVEXEC written by George Stanislav.
In your BATCH file, all you need to do is Execute DVEXEC with the
included RB (Reboot Windows program) as follows:
The program has been written to close 3 windows. It can be easily
modified using QuarterDecks CONVSCR program to do more or less.
The best way to use this in a BATCH file is to create a flag to look
for while processing.
If Exist C:\ShutDown.Day goto REBOOT
REBOOT ; Reboot.Com file to reboot the system...
In your normal batch file, you would create the Flag file (zero
length by redirection):
rem ** Shutdown System
DTR COM1: ON
AT COM1: M0H1
DTR COM1: OFF
REM > C:\ShutDown.Day
Sysop of the Southern Crossroads 14.4K HST 1:124/4115.0