home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo Anti-Virus Toolkit Rescue Disk.
- echo
- echo This disk is only to be used ON THE MACHINE IT WAS CREATED ON.
- echo
- echo ┌──────────────────────────────────────────────────────────────┐
- echo │ Using it on another machine will almost certainly result │
- echo │ in data loss, and may make your machine completely unusable │
- echo └──────────────────────────────────────────────────────────────┘
- echo
- echo READ THE MANUAL carefully before proceeding. The procedure is not
- echo difficult, but extreme care is necessary. Choosing the wrong option
- echo could have serious consequences.
- echo
- echo Select an option:
- echo A. Restore CMOS data.
- echo B. Restore partition table.
- echo C. Exit.
- :getkey
- TKUtil RetKey /nm /nc /silent
- IF ERRORLEVEL=67 GOTO end
- IF ERRORLEVEL=66 GOTO pointB
- IF ERRORLEVEL=65 GOTO pointA
- GOTO getkey
- :pointA
- TKUTIL CPU /nm /nc /silent
- IF ERRORLEVEL=2 GOTO 286
- echo Sorry, you don't have CMOS
- goto end
- :286
- CLEANPAR /C /R=BUPART.CPB /AT
- goto end
- :pointB
- CLEANPAR /R=BUPART.CPB /AT
- echo.
- echo Rescue procedure completed
- goto exit
- :end
- echo Rescue procedure aborted
- :exit