home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1990
/
02
/
qf.bat
< prev
next >
Wrap
DOS Batch File
|
1989-08-31
|
516b
|
16 lines
@ECHO OFF
:loop
ECHO *==========================================*
ECHO Insert a disk in %1 and hit space bar when ready. Press Q to Quit.
REM -------- Note the SPACE before the Q in the next line.
BATCHMAN GETKEY ' Q'
REM ----- Create QUIT.BAT with the command "REM>QUIT.BAT".
IF ERRORLEVEL 2 QUIT
BATCHMAN QFORMAT %1 N
ECHO .
IF NOT ERRORLEVEL 1 GOTO loop
REM ----- "^G" in next line is Ctrl-G -- hold Ctrl, type G.
ECHO QFORMAT %1 FAILED! Maybe formatted for another drive type?
pause
GOTO loop