home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / utils_mz / v10n11.zip / PROCNORM.BAT < prev    next >
DOS Batch File  |  1991-01-08  |  2KB  |  43 lines

  1. @ECHO OFF
  2. REM *** This is PROCNORM.BAT ***
  3. STRIPZIP *.ZIP
  4. REM STRIPZIP strips comments from ZIP files.  Delete
  5. REM the above line if you don't have STRIPZIP.
  6. IF EXIST INTRO.TXT ERASE INTRO.TXT
  7. IF EXIST READ_1ST.EXE ERASE READ_1ST.EXE
  8. IF EXIST DO_READ.ME ERASE DO_READ.ME
  9. IF EXIST READ_ME.750 ERASE READ_ME.750
  10. IF EXIST READ-ME.512 ERASE READ-ME.512
  11. IF EXIST HAPPY.BBS ERASE HAPPY.BBS
  12. IF EXIST HAPPY.EXE ERASE HAPPY.EXE
  13. IF EXIST READ-ME.PLS ERASE READ-ME.PLS
  14. IF EXIST UGLY.COM ERASE UGLY.COM
  15. IF EXIST GOOD.COM ERASE GOOD.COM
  16. IF EXIST BAD.COM ERASE BAD.COM
  17. IF EXIST WELCOME.TXT ERASE WELCOME.TXT
  18. IF EXIST HOWDY.TXT ERASE HOWDY.TXT
  19. IF EXIST HOWDY.EXE ERASE HOWDY.EXE
  20. IF EXIST ALLREAD.ME ERASE ALLREAD.ME
  21. IF EXIST READ-PLS.EXE ERASE READ-PLS.EXE
  22. REM Scan for all know viruses in the primary directory
  23. REM Substitute your own favorite virus scanner if you wish.
  24. SCAN *.* /a /nomem /x /m
  25. REM if Scan returns an errorlevel of 1 or 2,
  26. REM post a message on the screen
  27. IF ERRORLEVEL 1 ECHO Warning!!! SCAN.EXE indicates Virus infection!!!!
  28. IF ERRORLEVEL 2 ECHO Warning!!! SCAN.EXE terminated abnormally, ...!
  29. IF ERRORLEVEL 2 ECHO    Proceed With Caution!!!!
  30. REM  Get my attention if there's a virus or problems
  31. IF ERRORLEVEL 0 GOTO QUITOK
  32. REM  ^Gs in next line are Ctrl-G
  33. ECHO 
  34. ECHO Please press Ctrl-Break and deal with virus-infected
  35. ECHO file.  Then delete all the TEMPZIP.$$$ subdirectories
  36. ECHO and their contents and start processing again.
  37. PAUSE
  38. ECHO I said, press Ctrl-Break!
  39. REM ^C in next line is Ctrl-C.  Note that next line works
  40. REM only in DOS 3.3 or higher.
  41. ECHO  | PAUSE > NUL
  42. :QUITOK
  43.