home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol8n01.zip
/
VOLUME.BAT
< prev
Wrap
DOS Batch File
|
1988-09-18
|
550b
|
17 lines
ECHO OFF
IF %4==has GOTO nolabel
IF NOT %5==%DISKID% GOTO WRONG
ECHO Yes, the disk in drive %3: is labeled "%DISKID%".
ECHO This is just a sample VOLUME.BAT. Create your own
ECHO version that DOES something when the disk is verified.
GOTO END
:nolabel
ECHO The disk you put in drive %3: has no label.
ECHO Put the disk labelled "%DISKID%" in drive %3: and try again.
GOTO END
:WRONG
ECHO The disk in drive %3: is labelled "%5", not "%DISKID%".
ECHO Put the disk labelled "%DISKID%" in drive %3: and try again.
:END
DEL CHEKLABL.BAT