home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
16
/
DQCL11.ZIP
/
TEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-03-14
|
548b
|
32 lines
@echo off
rem Example batch file to illustrate QC.EXE errorlevel returns
cls
qc
if errorlevel 5 goto system_err
if errorlevel 4 goto not_ready
if errorlevel 3 goto track_not_supp
if errorlevel 2 goto track_err
if errorlevel 1 goto file_err
rem The disk passed if we reach here
goto end
:system_err
echo Ststem error
goto end
:not_ready
echo The drive's not ready
goto end
:track_not_supp
echo Track not supported
goto end
:track_err
echo Track error, invalid format?
goto end
:file_err
echo File read error
:end