home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
354.img
/
COVERT-1.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-10-17
|
1KB
|
65 lines
echo off
REM this program installs for 5 1/4" disks only
REM test for existing COVERT subdirectory
if EXIST %1:\MPS\COVERT\game.exe goto ClearDir
if EXIST %1:\MPS\COVERT\egraphic.exe goto ClearDir
goto NewDir
:ClearDir
REM this will clear the subdirectory %1:\MPS\COVERT
cls
echo Please answer "Y" to following question,
echo they clear out the old COVERT files.
echo on
erase %1:\MPS\COVERT\*.*
echo off
goto CopyFiles
:NewDir
REM this installs new COVERT subdirectory; errorlevel 0 means success
MD %1:\MPS
MD %1:\MPS\COVERT
if errorlevel 0 goto MakeDir
cls
echo Error creating %1:\MPS\COVERT subdirectory, do not use INSTALL program.
echo You must install COVERT ACTION manually. Sorry.
goto End
:MakeDir
:CopyFiles
REM this copies files from floppies in to %1:\MPS\COVERT
cls
echo Insert disk labelled "A" into your A: disk drive, then...
PAUSE
copy A:*.* %1:\MPS\COVERT
copy a:covert.bat %1:\MPS
cls
echo Insert disk labelled "B" into your A: disk drive, then...
PAUSE
copy A:*.* %1:\MPS\COVERT
if EXIST %1:\MPS\COVERT\TAC.EXE goto TwoDisks
cls
echo Insert disk labelled "C" into your A: disk drive, then...
PAUSE
copy A:*.* %1:\MPS\COVERT
cls
echo Insert disk labelled "D" into your A: disk drive, then...
PAUSE
copy A:*.* %1:\MPS\COVERT
:TwoDisks
copy a:covert.bat %1:\mps
cls
%1:
cd \mps
echo Type 'COVERT' to begin game.
:End
echo INSTALL FINISHED