home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Plus! (NZ) 2000 June
/
Pcw_jun00.bin
/
GUARDDOG
/
GD
/
DATA1.CAB
/
English_Resources
/
gdfix.bat
< prev
next >
Wrap
DOS Batch File
|
1999-05-13
|
4KB
|
63 lines
@echo off
@echo off
rem **********************************************************
rem * Run SCANDISK on all drives and do not pause at the end *
rem **********************************************************
if exist scandisk.exe cls
if exist scandisk.exe scandisk /ALL /NOSUMMARY
if exist scandisk.exe goto bootcompare
:bootcompare
@echo ╔═════════════════════════════════════════════════════════════════════════════╗
@echo ║ Guard Dog Emergency Check-Up ║
@echo ╚═════════════════════════════════════════════════════════════════════════════╝
@echo ╔═════════════════════════════════════════════════════════════════════════════╗
@echo ║ ║
@echo ║ ║
@echo ║ Guard Dog Emergency Disk is checking the following: ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ║ √ Running ScanDisk ║
@echo ║ ║
@echo ║ » Verifying Boot Sector ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ╚═════════════════════════════════════════════════════════════════════════════╝
rem **************************************************************************
rem * Use BOOTCOMP to compare the bootsector image to the one on the C drive *
rem **************************************************************************
bootcomp c:
:end
cls
@echo ╔═════════════════════════════════════════════════════════════════════════════╗
@echo ║ Emergency Check-Up ║
@echo ╚═════════════════════════════════════════════════════════════════════════════╝
@echo ╔═════════════════════════════════════════════════════════════════════════════╗
@echo ║ ║
@echo ║ ║
@echo ║ Guard Dog Emergency Disk is checking the following: ║
@echo ║ ║
@echo ║ ║
@echo ║ ║
@echo ║ √ Running ScanDisk ║
@echo ║ ║
@echo ║ √ Verifying Boot Sector ║
@echo ║ ╔════════════════════════════════════════════════════════════════════╗ ║
@echo ║ ║ Check-Up Complete! ║ ║
@echo ║ ║ Please Remove any floppy disks from your floppy drive and restart ║ ║
@echo ║ ║ your computer by pressing Control-Alt-Delete. ║ ║
@echo ║ ║ Press any key to exit to a DOS Prompt. ║ ║
@echo ║ ╚════════════════════════════════════════════════════════════════════╝ ║
@echo ╚═════════════════════════════════════════════════════════════════════════════╝
pause>nul