home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Entertainment 12
/
EPISODE_12_APR_1995.iso
/
patch
/
espat1.exe
/
EP1.XXX
/
P.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-01-12
|
1KB
|
68 lines
@echo off
if exist es.exe goto disk_inst
if .%1 == .d goto drive_ok
if .%1 == .D goto drive_ok
if .%1 == .e goto drive_ok
if .%1 == .E goto drive_ok
if .%1 == .f goto drive_ok
if .%1 == .F goto drive_ok
if .%1 == .g goto drive_ok
if .%1 == .G goto drive_ok
goto usage
:drive_ok
echo @echo off>es.bat
echo mode co80>>es.bat
echo set ALT_DRIVE=%1:>>es.bat
echo set PREFER_ALT=>>es.bat
echo escd>>es.bat
if exist vol\speech.vol goto complete
echo x>vol\speech.vol
goto complete
:usage
echo.
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
echo ▒▒ PATCH IS NOT COMPLETE! ▒▒
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
echo.
echo Type P followed by the letter of your CD drive.
echo For example, type "P D" if you installed EarthSiege from drive D:
echo.
goto end
:disk_inst
del es.exe >nul
echo echo off>es.bat
echo mode co80>>es.bat
echo set ALT_DRIVE=>>es.bat
echo set PREFER_ALT=>>es.bat
echo escd>>es.bat
goto complete
:complete
echo.
echo EarthSiege Patch v1.01 INSTALLATION IS COMPLETE.
echo.
echo If you wish to delete the patch files, press 'D'.
echo Otherwise, press any other key to continue.
echo.
getkey
if errorlevel 101 goto read
if errorlevel 100 goto delete
if errorlevel 69 goto read
if errorlevel 68 goto delete
if errorlevel 0 goto read
:delete
del espatch1.exe >nul
del ep1.exe >nul
echo Patch ZIP files deleted.
echo.
:read
echo Read PATCH.DOC for information concerning this patch.
echo.
:end