home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows NT Super Tune-Up Kit
/
PIE-WindowsNTSuperTuneUpKit-1997.iso
/
FIX_35
/
RUNME
/
MAKE35.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-10-30
|
5KB
|
128 lines
@ECHO OFF
IF NOT EXIST YNC.EXE GOTO YNCERROR
IF NOT EXIST P2_351.EXE GOTO EXERROR
IF NOT EXIST P2_352.EXE GOTO EXERROR
IF NOT EXIST P2_353.EXE GOTO EXERROR
IF NOT EXIST P2_354.EXE GOTO EXERROR
IF NOT EXIST P2_355.EXE GOTO EXERROR
CLS
ECHO .
ECHO ╔══════════════════════════════════════════════════════════════════╗
ECHO ║ The following batch file will create the diskettes needed to ║
ECHO ║ perform the Windows NT Update. In order to begin the creation ║
ECHO ║ process you will need five formatted 3.5 1.44 floppy diskettes ║
ECHO ║ before proceeding through the creation process. ║
ECHO ╚══════════════════════════════════════════════════════════════════╝
ECHO .
ECHO Do you have five 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. MAKE35 will now exit.
GOTO END
:NO
ECHO .
ECHO Please rerun MAKE35 when you have formatted five diskettes under
ECHO DOS. This can be done by placing a 1.44 3.5 diskette in the
ECHO drive and using FORMAT A:
ECHO Please rerun MAKE35 when you are ready. MAKE35 will now exit.
GOTO END
:NO2
ECHO Please rerun MAKE35 when you are ready to continue.
ECHO MAKE35 will now exit.
GOTO END
:EXERROR
ECHO In order to run the creation process, all the distribution files
ECHO must be in this directory. These files include :
ECHO .
ECHO P2_351.EXE
ECHO P2_352.EXE
ECHO P2_353.EXE
ECHO P2_354.EXE
ECHO P2_355.EXE
ECHO .
ECHO When you have these files in this directory, please rerun MAKE35
ECHO when ready.
GOTO END
:DRIVEER
ECHO .
ECHO ╔═══════════════════════════════════════════════════════════════════╗
ECHO ║ In order to complete the creation process, MAKE35 needs to know ║
ECHO ║ the drive letter where the floppy diskettes will be located. ║
ECHO ║ for example : MAKE35 A: if your 3.5 drive is A: ║
ECHO ║ -or- MAKE35 B: if your 3.5 drive is B: ║
ECHO ║ ║
ECHO ║ Please rerun MAKE35 with the appropriate options. ║
ECHO ║ MAKE35 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 ║ all five 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 MAKE35 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
P2_351.EXE %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 Update, then
PAUSE
IF EXIST "%1"DISK1 GOTO DISK2
P2_352.EXE %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 Update, then
PAUSE
IF EXIST "%1"DISK2 GOTO DISK3
P2_353.EXE %1
CLS
:DISK4
ECHO
ECHO Please remove Disk 3 from %1 and place another formatted floppy
ECHO diskette into the drive. This will become Disk 4 of the Update, then
PAUSE
IF EXIST "%1"DISK3 GOTO DISK4
P2_354.EXE %1
CLS
:DISK5
ECHO
ECHO Please remove Disk 4 from %1 and place another formatted floppy
ECHO diskette into the drive. This will become Disk 5 of the Update, then
PAUSE
IF EXIST "%1"DISK4 GOTO DISK5
P2_355.EXE %1
CLS
ECHO .
ECHO ╔════════════════════════════════════════════════════════════════════════╗
ECHO ║ Congratulations, you have successfully created your floppy install set ║
ECHO ║ for the Windows NT Update. Please read the README.TXT for installation ║
ECHO ║ instructions. ║
ECHO ╚════════════════════════════════════════════════════════════════════════╝
:END