home *** CD-ROM | disk | FTP | other *** search
- @echo off
- @rem
- @rem Apache Patch update.bat April 25 1996
- @rem Modified 5/1/1996 to avoid problems when installing
- @rem from drives other than A:
- @rem
- cls
- @echo #############################################################################
- @echo #############################################################################
- @echo ### ###
- @echo ### APACHE '95 RELEASE April 25 1996 ###
- @echo ### ###
- @echo #############################################################################
- @echo #############################################################################
- @echo .
-
- if not exist update.bat goto wrongdrv
- @echo Copying the new apache executable...
-
- if not exist c:\di\apache\apache95.exe goto failed
- copy prefs.cfg c:\di\apache\prefs.cfg /Y
- copy apache95.exe c:\di\apache\apache95.exe /Y
- copy apache.bat c:\di\apache\apache.bat /Y
- copy readme.txt c:\di\apache\readme.txt /Y
-
- if not exist c:\di\apache\missdata\110.dta md c:\di\apache\missdata
-
- @echo Copying revised mission file
- copy 110.dta c:\di\apache\missdata\110.dta /y
-
- goto exit
-
- :failed
-
- if x%1==x goto failed2
-
- if not exist %1\apache95.exe goto failed2
- copy prefs.cfg %1\prefs.cfg /Y
- copy apache95.exe %1\apache95.exe /Y
- copy apache.bat %1\apache.bat /Y
- copy readme.txt %1\readme.txt /Y
-
- if not exist %1\missdata\miss110.dta md %1\missdata
-
- @echo Copying revised mission file
- copy 110.dta %1\missdata\110.dta /y
-
- goto exit
-
-
- goto end
-
- :wrongdrv
- echo Error: Cannot find patch files.
- echo Run the update program from the diskette drive
- echo that contains the Apache patch disk.
- echo For example, if A: is your 3 1/2 drive, type:
- echo a: then update.
- echo"
- echo THE APACHE PATCH HAS NOT BEEN INSTALLED!
- echo"
- echo"
- goto end
-
-
-
- :failed2
-
- echo Apache is not installed in default directory (c:\di\apache)!
- echo Run the update program with the Apache directory specified.
- echo example: update c:\games\di\apache
- echo"
- echo"
- echo THE APACHE PATCH HAS NOT BEEN INSTALLED!
- echo"
- echo"
- goto end
-
- :exit
-
- rem
- rem complete
- rem
-
- @echo .
- @echo Update complete.
-
- :end
-