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

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