home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / add2 / chkup32.zip / MIS.BAT < prev    next >
DOS Batch File  |  1989-04-20  |  2KB  |  51 lines

  1. @echo off
  2. echo off
  3. cls
  4. goto top
  5.  
  6. Rich Levin's CHECKUP (tm)
  7. MIS.BAT - A Modified CHECKUP.BAT file for MISes
  8. Copyright (c) 1988 Richard B. Levin
  9. All Rights Reserved
  10.  
  11. For use with CHECKUP v.3.0+ and ZOO v.2.01+
  12.  
  13.         We prefer that users run CHECKUP via the "clean floppy disk" method
  14. documented in CHECKUP.DOC.  MISes know, however, that unless it's easy and
  15. automated, corporate users cannot be counted on to perform system maintenence
  16. on a regular basis.  To address this problem, we created and provide MIS.BAT.
  17.  
  18.         Add MIS.BAT to your user's AUTOEXEC.BAT files.  Confirm that
  19. CHECKUP.EXE and ZOO.EXE are stored in the CHECKUP subdirectory or in a
  20. subdirectory specified by the PATH environment variable.  An output file named
  21. "MIS.ZOO" will remain in the CHECKUP subdirectory after processing.  MIS.ZOO
  22. stores CHECKUP's output files in a compressed, encrypted format; it should not
  23. be deleted.
  24.  
  25.         MIS.BAT runs CHECKUP with the /L[OCK] command-line parameter in
  26. effect; this causes CHECKUP to lock-up the system and sound an alarm whenever
  27. file modifications are encountered.  In addition, MIS.BAT PAUSEs when errors
  28. are encountered.  We suggest you replace the PAUSE commands with stronger
  29. actions, such as a call to another batch file that prints an on-screen message
  30. advising users to contact your MIS department.
  31.  
  32. :top
  33.    echo Wait ...
  34.    ctty nul
  35.    c:
  36.    cd \checkup
  37.    rem "zoo" is a data compression program available on the mother board bbs
  38.    if exist mis.zoo zoo x mis.zoo
  39.    copy *.x* \
  40.    del *.x*
  41.    ctty con
  42.    checkup \*.com /l /r
  43.    if errorlevel 1 pause
  44.    checkup \*.sys /l /r
  45.    if errorlevel 1 pause
  46.    ctty nul
  47.    del \config.xys
  48.    if exist \*.x* zoo aP: mis.zoo \*.x*
  49.    del \*.x*
  50.    ctty con
  51.