home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
pcmag
/
vol8n08.arc
/
FORMAT.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-11-28
|
418b
|
15 lines
ECHO OFF
FOR %%v IN (a: b: A: B:) DO IF %1==%%v GOTO OK
ECHO You can only format drives A: and B: with this batch file.
GOTO End
:Ok
ECHO If you get an "Abort, Retry, Ignore" message, the disk is
ECHO not already formatted. Select A for Abort and continue.
DIR %1
ECHO If a directory appeared press CTRL-C now.
PAUSE
REM Assumes FORMAT.COM has been renamed "X123LUL0.COM".
X123LUL0.COM %1
LABEL %1
:End