home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM
- REM DTEST.BAT
- REM Makes sure a diskette is ready
- REM for multi-volume archiving.
-
- ECHO.
- If %1x==A:x Goto Continue
- If %1x==B:x Goto Continue
- If %1x==a:x Goto Continue
- If %1x==b:x Goto Continue
-
- ECHO No diskette drive was given (A: or B:).
- ECHO.
- Goto End
-
- :Continue
- DIR %1 /p
- ECHO.
- PAUSE
- ECHO.
- ECHO Should diskette in %1 be erased ???
- ECHO Please enter (y)es or (n)o.
- ECHO.
-
- KEYS
- IF ERRORLEVEL 121 GOTO Delete
- IF ERRORLEVEL 110 GOTO End
- IF ERRORLEVEL 89 GOTO Delete
- IF ERRORLEVEL 78 GOTO End
- GOTO End
-
- :Delete
- ECHO y | DEL %1\*.*
- ECHO.
-
- :End
- Echo Press any key
- Echo to return to ARJ.
- Echo.
- Pause>NUL
-
-