home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
CHECK15.ZIP
/
MAKEBOOT.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-06-04
|
1KB
|
29 lines
@REM MAKEBOOT.BAT - prepare a boot floppy for check/repair
@REM USAGE: MAKEBOOT [options] drives
@echo off
if X%1 == X goto NOARGS
goto ARGSOK
:NOARGS
echo You must specify all your harddrives on the command line
echo Example: MAKEBOOT c: d:
goto END
:ARGSOK
echo Insert an empty system disk in drive A: and press ENTER
pause > nul
echo Copying CHECK.EXE...
copy check.exe a: > nul
echo Copying REPAIR.EXE...
copy repair.exe a: > nul
echo @echo off > a:autoexec.cpy
echo check /W a:\ /D %1 %2 %3 %4 %5 %6 %7 %8 %9 >> a:autoexec.cpy
REM
echo @echo off > a:autoexec.bat
echo check /W a:\ /L /SD %1 %2 %3 %4 %5 %6 %7 %8 %9 >> a:autoexec.bat
echo echo Please write-protect this diskette and use it >> a:autoexec.bat
echo echo every once in a while to boot your computer. >> a:autoexec.bat
echo echo Hang on a second till this file is copied... >> a:autoexec.bat
echo copy a:autoexec.cpy a:autoexec.bat >> a:autoexec.bat
REM
echo Please reboot your computer from this diskette now.
:END