home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / DESQVIEW / DESQ_RB.ZIP / REBOOT.DOC < prev   
Text File  |  1989-03-25  |  1KB  |  48 lines

  1.         This little ditty was written very quickly for a need to REBOOT 
  2.         DESQview windows (closing them). You need about 48K free memory,
  3.         and you also need DVEXEC written by George Stanislav.
  4.  
  5.         In your BATCH file, all you need to do is Execute DVEXEC with the
  6.         included RB (Reboot Windows program) as follows:
  7.  
  8.         DVEXEC C:\DV\RB-PIF.DVP
  9.  
  10.         The program has been written to close 3 windows. It can be easily
  11.         modified using QuarterDecks CONVSCR program to do more or less.
  12.  
  13.         The best way to use this in a BATCH file is to create a flag to look
  14.         for while processing.
  15.  
  16. DV.BAT
  17.    CD \DV
  18.    DV
  19.    If Exist C:\ShutDown.Day goto REBOOT
  20.    Goto End
  21.  
  22. :REBOOT
  23.    Del C:\ShutDown.Day
  24.    REBOOT                  ; Reboot.Com file to reboot the system...
  25.  
  26. :End
  27.  
  28.  
  29.  
  30.         In your normal batch file, you would create the Flag file (zero
  31.         length by redirection):
  32.  
  33. RUNBBS.BAT
  34.  
  35.   rem ** Shutdown System
  36.   DTR COM1: ON
  37.   AT  COM1: M0H1
  38.   DTR COM1: OFF
  39.   REM > C:\ShutDown.Day
  40.   DVEXEC C:\DV\RB-PIF.DVP
  41.   EXIT
  42.  
  43.  
  44.         Have fun!
  45.         Dean Lachan
  46.         Sysop of the Southern Crossroads 14.4K HST 1:124/4115.0
  47.  
  48.