home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo.
- echo.
- echo **************************
- echo ** Janes AH-64D Longbow **
- echo **************************
- echo.
- echo Longbow manual install....
- echo.
- echo Please be sure the source and target drives are correct before proceding.
- echo.
- echo.
- choice Continue with install of Longbow from CD-ROM %1 to %2\%3
- if errorlevel 2 goto end
-
- :check
- if "%1"=="" goto error
- if "%2"=="" goto error
- if "%1"=="%2" goto driveltr
- if "%1"=="a:" goto error
- if "%1"=="b:" goto error
- if "%1"=="c:" goto error
- if "%2"=="a:" goto error
- if "%2"=="b:" goto error
- if "%3"=="" goto default
-
- goto specific
-
- :driveltr
- cls
- echo.
- echo.
- echo.
- echo.
- echo The Source and Target can not be the same drive.
- echo.
- echo The Source drive must be the CD-ROM.
- echo.
- echo The Target must be a Hard Drive.
- echo.
- echo.
- echo.
- goto end
-
- :cd1
- @echo off
- cls
- echo.
- echo You must install Jane's AH-64D Longbow from CD #1.
- echo.
- goto end
-
- :error
- cd\
- cls
- echo.
- echo.
- echo.
- echo.
- echo Format of maninst.bat:
- echo MANINST [source(CD) drive:] [destination drive:] [directory]
- echo (eg. maninst d: c: games)
- echo.
- echo NOTE: directory is optional. If no directory is specified, then Longbow
- echo will install to the default (JANES\LONGBOW).
- echo.
- echo.
- echo There has been an error in installation....
- deltree %3\janes
- echo.
- goto end
-
- :specific
- %2
- cd\
- md %2\%3
- cd %3
- goto d2
- :default
- %2
- cd\
- :d2
- %1
- if not exist jlbcd_01 goto cd1
- %2
- md janes
- md janes\longbow
- md janes\longbow\record
- md janes\longbow\appearnc
- md janes\longbow\palette
-
- cd janes\longbow
- copy %1\readme.txt
- copy %1\longbow.ico
- if not exist longbow.ico goto error
- copy %1\bootdisk.exe
- copy %1\iff.tre
- if not exist iff.tre goto error
- copy %1\sfx.tre
- copy %1\speech.tre
-
- copy %1\game\*.exe
- copy %1\game\*.lst
- copy %1\game\*.dig
- copy %1\game\*.dll
- copy %1\game\*.ini
- copy %1\game\*.bin
- copy %1\game\*.dat
- copy %1\game\*.txt
- copy %1\game\*.pif
- copy %1\game\*.iff
- copy %1\game\*.raw
- copy %1\game\*.pal
- copy %1\game\*.kmp
- copy %1\game\*.jmp
- copy %1\game\*.mdf
-
- cd appearnc
- copy %1\appearnc\*.*
- cd ..
- cd palette
- copy %1\palette\*.*
- cd ..
- cd record
- copy %1\game\*.rcd
-
- cd ..
- setsound
-
- :end
- echo.
- echo.
-