home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- IF NOT EXIST YNC.EXE GOTO YNCERROR
- IF NOT EXIST DISK1.EXE GOTO EXERROR
- IF NOT EXIST DISK2.EXE GOTO EXERROR
- IF NOT EXIST DISK3.EXE GOTO EXERROR
- CLS
- ECHO .
- ECHO ╔══════════════════════════════════════════════════════════════════╗
- ECHO ║ The following batch file will create the diskettes of ║
- ECHO ║ ║
- ECHO ║ Quarterdeck Qemm 8.0 for Windows 95. ║
- ECHO ║ ║
- ECHO ║ you will need three formatted 3.5 1.44 floppy diskettes ║
- ECHO ║ before proceeding through the creation process. ║
- ECHO ╚══════════════════════════════════════════════════════════════════╝
- ECHO .
- ECHO Do you have three formatted 3.5 1.44 floppy Diskettes ?
- YNC /c "yn" Enter [y]es or [n]o to continue
- If errorlevel == 1 GOTO NO
- If errorlevel == 0 GOTO YES
- GOTO END
- :YNCERROR
- ECHO The program YNC.EXE must be in this directory before the
- ECHO creation process can proceed. MKDISK will now exit.
- GOTO END
- :NO
- ECHO .
- ECHO Please rerun MKDISK when you have formatted five diskettes
- ECHO under DOS or Windows 95. This can be done by placing a 1.44 3.5
- ECHO diskette in the drive and using FORMAT A:
- ECHO Please rerun MKDISK when you are ready. MKDISK will now exit.
- GOTO END
- :NO2
- ECHO Please rerun MKDISK when you are ready to continue.
- ECHO MKDISK will now exit.
- GOTO END
- :EXERROR
- ECHO In order to run the creation process, all the compress files
- ECHO must be in this directory. These files include :
- ECHO .
- ECHO DISK1.EXE
- ECHO DISK2.EXE
- ECHO DISK3.EXE
- ECHO .
- ECHO When you have these files in this directory, please rerun MKDISK
- ECHO when ready.
- GOTO END
- :DRIVEER
- ECHO .
- ECHO ╔═══════════════════════════════════════════════════════════════════╗
- ECHO ║ In order to complete the creation process, MKDISK needs to know ║
- ECHO ║ the drive letter where the floppy diskettes will be located. ║
- ECHO ║ for example : MKDISK A: if your 3.5 drive is A: ║
- ECHO ║ -or- MKDISK B: if your 3.5 drive is B: ║
- ECHO ║ ║
- ECHO ║ Please rerun MKDISK with the appropriate options. ║
- ECHO ║ MKDISK will now exit. ║
- ECHO ╚═══════════════════════════════════════════════════════════════════╝
- GOTO END
- :YES
- CLS
- IF "%1" == "a:" GOTO CONTINUE
- IF "%1" == "A:" GOTO CONTINUE
- IF "%1" == "b:" GOTO CONTINUE
- IF "%1" == "B:" GOTO CONTINUE
- GOTO DRIVEER
- :CONTINUE
- ECHO ╔══════════════════════════════════════════════════════════════════════╗
- ECHO ║ Now that you are ready to complete the creation process, you will ║
- ECHO ║ be asked to insert the blank formatted diskettes one at a time until║
- ECHO ║ both diskettes have been created. Once the diskettes have been ║
- ECHo ║ created, you will need to read the README.TXT for installation ║
- ECHO ║ instructions. ║
- ECHO ║ ║
- ECHO ║ Please note that once you begin the creation process, there is no ║
- ECHO ║ way to exit in case of error. If an error occurs, simply press ║
- ECHO ║ CTRL-C to exit the batch file, reformat the diskettes and ║
- ECHO ║ run MKDISK again. ║
- ECHO ╚══════════════════════════════════════════════════════════════════════╝
- ECHO .
- YNC /c "yn" Are you ready to begin
- If errorlevel == 1 GOTO NO2
-
- ECHO Please place the formatted diskette into %1 this will become Disk1 then
- PAUSE
- DISK1 %1
- CLS
- :DISK2
- ECHO
- ECHO Please remove Disk 1 from %1 and place another formatted floppy
- ECHO diskette into the drive. This will become Disk 2 of the files, then
- PAUSE
- IF EXIST "%1"DISK1 GOTO DISK2
- DISK2 %1
- CLS
- :DISK3
- ECHO
- ECHO Please remove Disk 2 from %1 and place another formatted floppy
- ECHO diskette into the drive. This will become Disk 3 of the files, then
- PAUSE
- IF EXIST "%1"DISK2 GOTO DISK3
- DISK3 %1
- CLS
-
- ECHO .
- ECHO ╔════════════════════════════════════════════════════════════════════════╗
- ECHO ║ Congratulations, you have successfully created your floppy install set ║
- ECHO ║ for the ║
- ECHO ║ Quarterdeck Qemm 8.0 for Windows 95. ║
- ECHO ║ Make By, ║
- ECHO ║ (Please see the Password List about the serial.no.) ║
- ECHO ║ PowerCD Vol.5 ║
- ECHO ╚════════════════════════════════════════════════════════════════════════╝
- :END
-