home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR14 / UPTEST10.ZIP / ZIP.BAT < prev    next >
DOS Batch File  |  1993-02-24  |  871b  |  37 lines

  1. @echo off
  2. type c:\renegade\arcs\zipt1.ans >COM4
  3. type c:\renegade\arcs\zipt2.ans >COM4
  4. PkUnZip -t %1
  5. If errorlevel 1 goto FAILCRC
  6. If errorlevel 2 goto FAILCRC
  7. If errorlevel 3 goto FAILCRC
  8. If errorlevel 51 goto FAILCRC
  9. type c:\renegade\arcs\zipt3.ans >COM4
  10. type c:\renegade\arcs\zipt4.ans >COM4
  11. PkZip -k -aex %1 C:\STATIC.COM
  12. type c:\renegade\arcs\zipt5.ans >COM4
  13. md $$temp
  14. cd $$temp
  15. type c:\renegade\arcs\zipt6.ans >COM4
  16. PkUnzip -o %1
  17. type c:\renegade\arcs\zipt7.ans >COM4
  18. type c:\renegade\arcs\zipt8.ans >COM4
  19. SCAN *.*
  20. type c:\renegade\arcs\zipt9.ans >COM4
  21. If errorlevel 0 goto END
  22. If errorlevel 1 goto VIRUS
  23. :VIRUS
  24. type c:\renegade\arcs\zipt11.ans >COM4
  25. del %1
  26. reboot
  27. :FAILCRC
  28. type c:\renegade\arcs\zipt12.ans >COM4
  29. goto END
  30. :END
  31. PkZip -k -aex %1
  32. PkZip %1 -z < C:\STATIC.ASC
  33. type c:\renegade\arcs\zipt10.ans >COM4
  34. cd..
  35. kd $$temp
  36. exit
  37.