home *** CD-ROM | disk | FTP | other *** search
/ Windows NT Super Tune-Up Kit / PIE-WindowsNTSuperTuneUpKit-1997.iso / FIX_35 / RUNME / MAKE35.BAT < prev    next >
DOS Batch File  |  1993-10-30  |  5KB  |  128 lines

  1. @ECHO OFF
  2. IF NOT EXIST YNC.EXE GOTO YNCERROR
  3. IF NOT EXIST P2_351.EXE GOTO EXERROR
  4. IF NOT EXIST P2_352.EXE GOTO EXERROR
  5. IF NOT EXIST P2_353.EXE GOTO EXERROR
  6. IF NOT EXIST P2_354.EXE GOTO EXERROR
  7. IF NOT EXIST P2_355.EXE GOTO EXERROR
  8. CLS
  9. ECHO .
  10. ECHO ╔══════════════════════════════════════════════════════════════════╗
  11. ECHO ║  The following batch file will create the diskettes needed to    ║
  12. ECHO ║  perform the Windows NT Update. In order to begin the creation   ║
  13. ECHO ║  process you will need five formatted 3.5 1.44 floppy diskettes  ║
  14. ECHO ║  before proceeding through the creation process.                 ║
  15. ECHO ╚══════════════════════════════════════════════════════════════════╝
  16. ECHO .
  17. ECHO Do you have five 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. MAKE35 will now exit.
  25. GOTO END
  26. :NO
  27. ECHO .
  28. ECHO Please rerun MAKE35 when you have formatted five diskettes under
  29. ECHO DOS. This can be done by placing a 1.44 3.5 diskette in the
  30. ECHO drive and using FORMAT A:
  31. ECHO Please rerun MAKE35 when you are ready. MAKE35 will now exit.
  32. GOTO END
  33. :NO2
  34. ECHO Please rerun MAKE35 when you are ready to continue.
  35. ECHO MAKE35 will now exit.
  36. GOTO END
  37. :EXERROR
  38. ECHO In order to run the creation process, all the distribution files
  39. ECHO must be in this directory. These files include :
  40. ECHO .
  41. ECHO               P2_351.EXE
  42. ECHO               P2_352.EXE
  43. ECHO               P2_353.EXE
  44. ECHO               P2_354.EXE
  45. ECHO               P2_355.EXE
  46. ECHO .
  47. ECHO When you have these files in this directory, please rerun MAKE35
  48. ECHO when ready.
  49. GOTO END
  50. :DRIVEER
  51. ECHO .
  52. ECHO ╔═══════════════════════════════════════════════════════════════════╗
  53. ECHO ║  In order to complete the creation process, MAKE35 needs to know  ║
  54. ECHO ║  the drive letter where the floppy diskettes will be located.     ║
  55. ECHO ║  for example : MAKE35 A:      if your 3.5 drive is A:             ║
  56. ECHO ║     -or-       MAKE35 B:      if your 3.5 drive is B:             ║
  57. ECHO ║                                                                   ║
  58. ECHO ║  Please rerun MAKE35 with the appropriate options.                ║
  59. ECHO ║  MAKE35 will now exit.                                            ║
  60. ECHO ╚═══════════════════════════════════════════════════════════════════╝
  61. GOTO END
  62. :YES
  63. CLS
  64. IF "%1" == "a:" GOTO CONTINUE
  65. IF "%1" == "A:" GOTO CONTINUE
  66. IF "%1" == "b:" GOTO CONTINUE
  67. IF "%1" == "B:" GOTO CONTINUE
  68. GOTO DRIVEER
  69. :CONTINUE
  70. ECHO  ╔══════════════════════════════════════════════════════════════════════╗
  71. ECHO  ║  Now that you are ready to complete the creation process, you will   ║
  72. ECHO  ║  be asked to insert the blank formatted diskettes one at a time until║
  73. ECHO  ║  all five diskettes have been created. Once the diskettes have been  ║
  74. ECHo  ║  created, you will need to read the README.TXT for installation      ║
  75. ECHO  ║  instructions.                                                       ║
  76. ECHO  ║                                                                      ║
  77. ECHO  ║  Please note that once you begin the creation process, there is no   ║
  78. ECHO  ║  way to exit in case of error. If an error occurs, simply press      ║
  79. ECHO  ║  CTRL-C to exit the batch file, reformat the diskettes and           ║
  80. ECHO  ║  run MAKE35 again.                                                   ║
  81. ECHO  ╚══════════════════════════════════════════════════════════════════════╝
  82. ECHO .
  83. YNC /c "yn" Are you ready to begin
  84. If errorlevel == 1 GOTO NO2
  85. ECHO Please place the formatted diskette into %1 this will become Disk1 then
  86. PAUSE
  87. P2_351.EXE %1
  88. CLS
  89. :DISK2
  90. ECHO  
  91. ECHO Please remove Disk 1 from %1 and place another formatted floppy
  92. ECHO diskette into the drive. This will become Disk 2 of the Update, then
  93. PAUSE
  94. IF EXIST "%1"DISK1 GOTO DISK2
  95. P2_352.EXE %1
  96. CLS
  97. :DISK3
  98. ECHO  
  99. ECHO Please remove Disk 2 from %1 and place another formatted floppy
  100. ECHO diskette into the drive. This will become Disk 3 of the Update, then
  101. PAUSE
  102. IF EXIST "%1"DISK2 GOTO DISK3
  103. P2_353.EXE %1
  104. CLS
  105. :DISK4
  106. ECHO  
  107. ECHO Please remove Disk 3 from %1 and place another formatted floppy
  108. ECHO diskette into the drive. This will become Disk 4 of the Update, then
  109. PAUSE
  110. IF EXIST "%1"DISK3 GOTO DISK4
  111. P2_354.EXE %1
  112. CLS
  113. :DISK5
  114. ECHO  
  115. ECHO Please remove Disk 4 from %1 and place another formatted floppy
  116. ECHO diskette into the drive. This will become Disk 5 of the Update, then
  117. PAUSE
  118. IF EXIST "%1"DISK4 GOTO DISK5
  119. P2_355.EXE %1
  120. CLS
  121. ECHO .
  122. ECHO ╔════════════════════════════════════════════════════════════════════════╗
  123. ECHO ║ Congratulations, you have successfully created your floppy install set ║
  124. ECHO ║ for the Windows NT Update. Please read the README.TXT for installation ║
  125. ECHO ║ instructions.                                                          ║
  126. ECHO ╚════════════════════════════════════════════════════════════════════════╝
  127. :END
  128.