home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Player 1994 January
/
CdPlayer94-01.iso
/
patches
/
1946
/
install.bat
next >
Wrap
DOS Batch File
|
1993-03-08
|
5KB
|
176 lines
@echo off
cls
echo
echo
echo
echo ╔══════════════════════════════════════╗
echo ║ WWII: 1946! PATCH A ║
echo ║ Copyright 1992 Dynamix, Inc. ║
echo ╚══════════════════════════════════════╝
if .%1==. goto no_param
if not exist %1\nul goto badpath
if "%1"=="c:" goto def
if "%1"=="C:" goto def
if "%1"=="d:" goto def
if "%1"=="D:" goto def
if "%1"=="e:" goto def
if "%1"=="E:" goto def
if "%1"=="f:" goto def
if "%1"=="F:" goto def
if "%1"=="g:" goto def
if "%1"=="G:" goto def
if "%1"=="h:" goto def
if "%1"=="H:" goto def
if "%1"=="i:" goto def
if "%1"=="I:" goto def
if "%1"=="j:" goto def
if "%1"=="J:" goto def
if "%1"=="k:" goto def
if "%1"=="K:" goto def
if "%1"=="l:" goto def
if "%1"=="L:" goto def
if "%1"=="m:" goto def
if "%1"=="M:" goto def
if "%1"=="n:" goto def
if "%1"=="N:" goto def
if "%1"=="o:" goto def
if "%1"=="O:" goto def
if "%1"=="p:" goto def
if "%1"=="P:" goto def
if "%1"=="q:" goto def
if "%1"=="Q:" goto def
if "%1"=="r:" goto def
if "%1"=="R:" goto def
if "%1"=="s:" goto def
if "%1"=="S:" goto def
if "%1"=="t:" goto def
if "%1"=="T:" goto def
if "%1"=="u:" goto def
if "%1"=="U:" goto def
if "%1"=="v:" goto def
if "%1"=="V:" goto def
if "%1"=="w:" goto def
if "%1"=="W:" goto def
if "%1"=="x:" goto def
if "%1"=="X:" goto def
if "%1"=="y:" goto def
if "%1"=="Y:" goto def
if "%1"=="z:" goto def
if "%1"=="Z:" goto def
if not exist %1\aces.com goto noaces
echo
echo Installing "WWII: 1946! Patch A" to %1
echo
echo Press CTRL-C to Abort or
pause
copy patch.exe %1 >nul
copy PATCH.RTP %1 >nul
%1\patch %1
del %1\patch.exe
del %1\patch.rtp
echo
echo **** Installation complete. ****
echo To run, go to the %1 directory,
echo and then type: ACES.
echo
goto end
:def
if not exist %1\dynamix\aces\aces.com goto noaces
echo
echo Installing "WWII:1946 Patch A" to %1\dynamix\aces
echo
echo Press CTRL-C to Abort or
pause
copy patch.exe %1\dynamix\aces >nul
copy PATCH.RTP %1\dynamix\aces >nul
%1\dynamix\aces\patch %1\dynamix\aces
del %1\dynamix\aces\patch.exe
del %1\dynamix\aces\patch.rtp
echo
echo **** Installation complete. ****
echo To run, go to the %1\dynamix\aces directory,
echo and then type: ACES.
echo
goto end
:no_param
echo
echo
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ ERROR: You did not specify a destination drive. │
echo └───────────────────────────────────────────────────────────────────┘
echo
echo
echo
pause
cls
goto usage
:badpath
echo
echo
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ ERROR: The drive or directory path that you specified is invalid.│
echo └───────────────────────────────────────────────────────────────────┘
echo
echo
echo
pause
cls
goto usage
:noaces
echo
echo
echo ┌───────────────────────────────────────────────────────────────────┐
echo │ ERROR: The original Aces program has not been installed to the │
echo │ drive or directory path you have specified. Please run the │
echo │ install program again. If this does not work you may have to │
echo │ reinstall your original copy of Aces of the Pacific. │
echo └───────────────────────────────────────────────────────────────────┘
echo
echo
echo
pause
cls
goto usage
:usage
echo
echo
echo
echo ╔═══════════════════════════════════════════════════════════════════════╗
echo ║ To install Patch A, type 'INSTALL' followed by the drive on which you ║
echo ║ installed the original Aces of the Pacific. For example, type: ║
echo ║ ║
echo ║ INSTALL C: ║
echo ║ ║
echo ║ if you previously installed Aces of the Pacific to your C: drive. ║
echo ║ ║
echo ║ If, for some reason, you have moved your Aces files to a directory ║
echo ║ other than \DYNAMIX\ACES, type the new full directory path after the ║
echo ║ drive letter when you run install. For example, type: ║
echo ║ ║
echo ║ INSTALL D:\GAMES\ACES ║
echo ║ ║
echo ║ if you have moved Aces to the directory \GAMES\ACES on your D: drive. ║
echo ║ ║
echo ║ NOTE: Installing Patch A requires about 1 Meg of free hard disk space.║
echo ╚═══════════════════════════════════════════════════════════════════════╝
echo
echo
goto end
:end