home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
open
/
fndation.lzh
/
ENDOFDAY.BAT
< prev
next >
Wrap
DOS Batch File
|
1985-11-25
|
2KB
|
59 lines
echo off
cls
c:
cd\dos
echo You're about to make an ENDOFDAY-style backup of the
echo information that has not been saved lately.
echo Would you like to go on with this?
query
if not errorlevel 1 goto end
cls
echo Okay! You're going to need to put
type \dos\backup.msg
echo into drive a: before you can go on to the next step.
echo Are you READY to continue?
query
if not errorlevel 1 goto end
if exist \dos\*.msg erase \dos\*.msg
backup c:\ a:/s/a/m
echo This pause is intended to let you see if there are any messages from DOS.
pause
cls
if errorlevel 4 goto failure
if errorlevel 3 goto you-stop
if errorlevel 1 goto nofiles
basica backup
cls
echo Hurray! judging from the lack of error messages from DOS, It worked properly!
echo Okay... You're all done! Now, take all of your backup disks
echo and HIDE THEM UNDER THE BED!
echo If you would like to find out how to PROPERLY restore the information
echo from floppy disks to your hard disk, please call
echo ***
echo Tony Lindsey (619) 295-2922
echo ***
echo If you try to do it all alone,
echo I WILL PERSONALLY TAKE A FLYSWATTER TO YOU!
pause
goto end
:you-stop
echo Evidently you told the computer to stop by pressing Control-Break...
echo That's fine, but PLEASE do another backup as SOON as possible!
rebeep
goto end
:failure
echo Evidently the disk you put in is NOT acceptable for some reason...
echo Call Tony at (619) 295-2922 if you have any questions...
rebeep
goto end
:nofiles
Echo Evidently the computer found no files to back up. This might or
echo might NOT be considered as good news.
echo Call Tony at (619) 295-2922 if you have any doubts!
pause
:end
cls
cd\dos
type menu.txt