home *** CD-ROM | disk | FTP | other *** search
/ Software One-Stop 3 / BOOTCDROM.iso / install / qemm8 / mkdisk.bat < prev    next >
Encoding:
DOS Batch File  |  1995-12-03  |  4.8 KB  |  115 lines

  1. @ECHO OFF
  2. IF NOT EXIST YNC.EXE GOTO YNCERROR
  3. IF NOT EXIST DISK1.EXE GOTO EXERROR
  4. IF NOT EXIST DISK2.EXE GOTO EXERROR
  5. IF NOT EXIST DISK3.EXE GOTO EXERROR
  6. CLS
  7. ECHO .
  8. ECHO ╔══════════════════════════════════════════════════════════════════╗
  9. ECHO ║      The following batch file will create the diskettes of       ║
  10. ECHO ║                                                                  ║
  11. ECHO ║                  Quarterdeck Qemm 8.0 for Windows 95.            ║
  12. ECHO ║                                                                  ║
  13. ECHO ║      you will need three formatted 3.5 1.44 floppy diskettes     ║
  14. ECHO ║      before proceeding through the creation process.             ║
  15. ECHO ╚══════════════════════════════════════════════════════════════════╝
  16. ECHO .
  17. ECHO Do you have three formatted 3.5 1.44 floppy Diskettes ?
  18. YNC /c "yn" Enter [y]es or [n]o to continue
  19. If errorlevel == 1 GOTO NO
  20. If errorlevel == 0 GOTO YES
  21. GOTO END
  22. :YNCERROR
  23. ECHO The program YNC.EXE must be in this directory before the
  24. ECHO creation process can proceed. MKDISK will now exit.
  25. GOTO END
  26. :NO
  27. ECHO .
  28. ECHO Please rerun MKDISK when you have formatted five diskettes 
  29. ECHO under DOS or Windows 95. This can be done by placing a 1.44 3.5 
  30. ECHO diskette in the drive and using FORMAT A:
  31. ECHO Please rerun MKDISK when you are ready. MKDISK will now exit.
  32. GOTO END
  33. :NO2
  34. ECHO Please rerun MKDISK when you are ready to continue.
  35. ECHO MKDISK will now exit.
  36. GOTO END
  37. :EXERROR
  38. ECHO In order to run the creation process, all the compress files
  39. ECHO must be in this directory. These files include :
  40. ECHO .
  41. ECHO               DISK1.EXE
  42. ECHO               DISK2.EXE
  43. ECHO               DISK3.EXE
  44. ECHO .
  45. ECHO When you have these files in this directory, please rerun MKDISK
  46. ECHO when ready.
  47. GOTO END
  48. :DRIVEER
  49. ECHO .
  50. ECHO ╔═══════════════════════════════════════════════════════════════════╗
  51. ECHO ║  In order to complete the creation process, MKDISK needs to know  ║
  52. ECHO ║  the drive letter where the floppy diskettes will be located.     ║
  53. ECHO ║  for example : MKDISK A:     if your 3.5 drive is A:              ║
  54. ECHO ║     -or-       MKDISK B:     if your 3.5 drive is B:              ║
  55. ECHO ║                                                                   ║
  56. ECHO ║  Please rerun MKDISK with the appropriate options.                ║
  57. ECHO ║  MKDISK will now exit.                                            ║
  58. ECHO ╚═══════════════════════════════════════════════════════════════════╝
  59. GOTO END
  60. :YES
  61. CLS
  62. IF "%1" == "a:" GOTO CONTINUE
  63. IF "%1" == "A:" GOTO CONTINUE
  64. IF "%1" == "b:" GOTO CONTINUE
  65. IF "%1" == "B:" GOTO CONTINUE
  66. GOTO DRIVEER
  67. :CONTINUE
  68. ECHO  ╔══════════════════════════════════════════════════════════════════════╗
  69. ECHO  ║  Now that you are ready to complete the creation process, you will   ║
  70. ECHO  ║  be asked to insert the blank formatted diskettes one at a time until║
  71. ECHO  ║  both diskettes have been created. Once the diskettes have been      ║
  72. ECHo  ║  created, you will need to read the README.TXT for installation      ║
  73. ECHO  ║  instructions.                                                       ║
  74. ECHO  ║                                                                      ║
  75. ECHO  ║  Please note that once you begin the creation process, there is no   ║
  76. ECHO  ║  way to exit in case of error. If an error occurs, simply press      ║
  77. ECHO  ║  CTRL-C to exit the batch file, reformat the diskettes and           ║
  78. ECHO  ║  run MKDISK again.                                                   ║
  79. ECHO  ╚══════════════════════════════════════════════════════════════════════╝
  80. ECHO .
  81. YNC /c "yn" Are you ready to begin
  82. If errorlevel == 1 GOTO NO2
  83.  
  84. ECHO Please place the formatted diskette into %1 this will become Disk1 then
  85. PAUSE
  86. DISK1 %1
  87. CLS
  88. :DISK2
  89. ECHO  
  90. ECHO Please remove Disk 1 from %1 and place another formatted floppy
  91. ECHO diskette into the drive. This will become Disk 2 of the files, then
  92. PAUSE
  93. IF EXIST "%1"DISK1 GOTO DISK2
  94. DISK2 %1
  95. CLS
  96. :DISK3
  97. ECHO  
  98. ECHO Please remove Disk 2 from %1 and place another formatted floppy
  99. ECHO diskette into the drive. This will become Disk 3 of the files, then
  100. PAUSE
  101. IF EXIST "%1"DISK2 GOTO DISK3
  102. DISK3 %1
  103. CLS
  104.  
  105. ECHO .
  106. ECHO ╔════════════════════════════════════════════════════════════════════════╗
  107. ECHO ║ Congratulations, you have successfully created your floppy install set ║
  108. ECHO ║ for the                                                                ║
  109. ECHO ║                   Quarterdeck Qemm 8.0 for Windows 95.                 ║
  110. ECHO ║  Make By,                                                              ║
  111. ECHO ║           (Please see the Password List about the serial.no.)          ║
  112. ECHO ║  PowerCD Vol.5                                                         ║
  113. ECHO ╚════════════════════════════════════════════════════════════════════════╝
  114. :END
  115.