Category : Batch File Utilities - mostly for DOS
Archive   : IMPRVBAT.ZIP
Filename : FORMAT.BAT

 
Output of file : FORMAT.BAT contained in archive : IMPRVBAT.ZIP
@ECHO OFF
REM This batch file is to demonstrate the usefulness of the enclosed batch
REM enhancement programs. It assumes that the user has a 1.2M floppy
REM drive for A: and a 1.44M floppy drive for drive B: This batch file
REM will greaty simplify the task of formatting floppies for the novice
REM computer user. If you find this program or the associated COM files
REM to be of use, please register this shareware by sending $5.00 to the
REM author, John Miktuk, 5625 Niobe Road, Panama, NY 14767.
REM This batch file and the other files included with it are shareware and
REM The author reserves ALL rights to their use. The author assumes no
REM responsibility for their use, either private or public, but welcomes
REM feedback from the users.
:START
CLS
BLANK 4
ECHO What do you wish to format?
BLANK
ECHO 1) A: 360 K
ECHO 2) A: 1.2 M
ECHO 3) B: 720 K
ECHO 4) B: 1.44 M
ECHO 0) OOPS, don't want to format!
BLANK
ECHO Please pick the drive and media you wish to format:
BLANK 3
BATKEY 4
IF ERRORLEVEL 5 GOTO EXIT
IF ERRORLEVEL 4 GOTO F14
IF ERRORLEVEL 3 GOTO F72
IF ERRORLEVEL 2 GOTO F12
IF ERRORLEVEL 1 GOTO F36
GOTO EXIT
:F14
ECHO Format B: 3 1/2" High-Density (1.44M), Correct? (Y/N)
GETYN
IF ERRORLEVEL 1 GOTO START
C:\DOS\FORMAT B: /U
GOTO EXIT
:F72
ECHO Format B: 3 1/2" Double-Density (720K), Correct? (Y/N)
GETYN
IF ERRORLEVEL 1 GOTO START
C:\DOS\FORMAT B: /U /F:720
GOTO EXIT
:F12
ECHO Format A: 5 1/4" High-Density (1.2M), Correct? (Y/N)
GETYN
IF ERRORLEVEL 1 GOTO START
C:\DOS\FORMAT A: /U
GOTO EXIT
:F36
ECHO Format A: 5 1/4" Double-Density (360K), Correct? (Y/N)
GETYN
IF ERRORLEVEL 1 GOTO START
C:\DOS\FORMAT A: /U /F:360
:EXIT
CLS


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : IMPRVBAT.ZIP
Filename : FORMAT.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/