home *** CD-ROM | disk | FTP | other *** search
- echo off
- REM this program installs for 3.50 (720K) disks only
- REM test for existing KNIGHTS subdirectory
- if EXIST %1:\MPS\KNIGHTS\flight.exe goto ClearDir
- if EXIST %1:\MPS\KNIGHTS\game.exe goto ClearDir
- goto NewDir
-
- :ClearDir
- REM this will clear the subdirectory %1:\MPS\KNIGHTS
- cls
- echo Please answer "Y" to following question, it clears out old KNIGHTS files
- erase %1:\MPS\KNIGHTS\*.*
- goto CopyFiles
-
- :NewDir
- REM this installs new KNIGHTS subdirectory; errorlevel 0 means success
- MD %1:\MPS
- MD %1:\MPS\KNIGHTS
- if errorlevel 0 goto CopyFiles
- cls
- echo Error creating %1:\MPS\KNIGHTS subdirectory, do not use INSTALL program.
- echo You must install KNIGHTS OF THE SKY manually. Sorry.
- goto End
-
- :CopyFiles
- REM this copies files from floppies into %1:\MPS\KNIGHTS
-
- cls
- echo Insert disk labeled "A" into your A: disk drive, then...
- PAUSE
- copy A:*.* %1:\MPS\KNIGHTS
- copy A:START.BAT %1:\MPS\KNIGHTS.BAT
-
- cls
- echo Insert disk labeled "B" into your A: disk drive, then...
- PAUSE
- copy A:*.* %1:\MPS\KNIGHTS
-
- cls
- %1:
- cd \MPS
- echo Type "KNIGHTS" to begin game
-
- :End
- echo INSTALL FINISHED
- echo Please ignore any "Batch file missing" message
- erase %1:\3install.bat