home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- :beg
- cls
- echo -=Warcraft Upgrade=-
- if not exist war.exe goto wd
- if not exist patch.exe goto mf
- if not exist ask.com goto mf
- if not exist patch.com goto mf
- echo F1-Upgrade current version of Warcraft to 1.21
- echo F2-View new README.TXT file for Warcraft
- echo F3-View WAR_EDIT.TXT
- echo F4-Exit
- ask
- If errorlevel 62 goto END
- If errorlevel 61 goto eddoc
- If errorlevel 60 goto readme
- If errorlevel 59 goto upgrade
- goto beg
-
- :upgrade
- patch.exe -o dos4gw.exe
- patch.exe -o setup.exe
- patch.exe -do drivers\*.*
- if exist fdata\nul patch.exe -o warf.exe
- if not exist fdata\nul patch.exe -o war.exe
- if exist warf.exe del war.exe
- if exist warf.exe ren warf.exe war.exe
- patch.exe -o war_edit.exe
- patch.exe -o war_edit.TXT
- patch.exe -o readme.txt
- goto beg
-
- :readme
- patch.exe -o readme.txt
- type readme.txt | more
- echo Press any key to continue.
- ask
- oto beg
-
- :eddoc
- if not exist WAR_EDIT.DOC patch.exe war_edit.doc
- Type war_edit.txt | more
- echo Press any key to continue.
- ask
- goto beg
-
- :WD
- echo Warcraft Upgrade needs to be run from the Warcraft
- echo directory. If you still have the WARCR121.EXE file,
- echo copy it into your warcraft directory and run it, and
- echo then run GO.BAT again. If you have deleted it, simply
- echo copy GO.BAT, PATCH.EXE and ASK.COM into your Warcraft
- echo directory, and run GO.BAT.
- goto dend
-
- :MF
- echo The Warcraft Upgrade requires all four files from the
- echo WARCR121.EXE program. They are GO.BAT (this file), ASK.COM,
- echo PATCH.COM and PATCH.EXE. Please make sure all four files are in
- echo the Warcraft directory, and then run GO.BAT again.
- goto dend
-
- :END
- echo Thank you for using the Warcraft Upgrade.
- echo Enjoy your game!
-
- :dend
-