home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0200 - 0209 / ibm0200-0209 / ibm0200.tar / ibm0200 / S664PWA2.ZIP / RESCUE.INF < prev    next >
Encoding:
Text File  |  1994-05-06  |  1.2 KB  |  42 lines

  1. @echo off
  2. cls
  3. echo                     Anti-Virus Toolkit Rescue Disk.
  4. echo  
  5. echo     This disk is only to be used ON THE MACHINE IT WAS CREATED ON.
  6. echo  
  7. echo    ┌──────────────────────────────────────────────────────────────┐
  8. echo    │  Using it on another machine will almost certainly result    │
  9. echo    │  in data loss, and may make your machine completely unusable │
  10. echo    └──────────────────────────────────────────────────────────────┘
  11. echo  
  12. echo    READ THE MANUAL carefully before proceeding. The procedure is not
  13. echo    difficult, but extreme care is necessary. Choosing the wrong option
  14. echo    could have serious consequences.
  15. echo  
  16. echo    Select an option:
  17. echo        A. Restore CMOS data.
  18. echo        B. Restore partition table.
  19. echo        C. Exit.
  20. :getkey
  21. TKUtil RetKey /nm /nc /silent
  22. IF ERRORLEVEL=67 GOTO end
  23. IF ERRORLEVEL=66 GOTO pointB
  24. IF ERRORLEVEL=65 GOTO pointA
  25. GOTO getkey
  26. :pointA
  27. TKUTIL CPU /nm /nc /silent
  28. IF ERRORLEVEL=2 GOTO 286
  29. echo Sorry, you don't have CMOS
  30. goto end
  31. :286
  32. CLEANPAR /C /R=BUPART.CPB /AT
  33. goto end
  34. :pointB
  35. CLEANPAR /R=BUPART.CPB /AT
  36. echo.
  37. echo Rescue procedure completed
  38. goto exit
  39. :end
  40. echo Rescue procedure aborted
  41. :exit
  42.