home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
003.INSTALLD.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-03-28
|
2KB
|
73 lines
echo off
cls
if '%1' =='' goto nogood
if %1 == DeSkMaTe goto deskinstal
if '%2' =='' goto nogood
if %1 == A: goto chekdest
if %1 == B: goto chekdest
if %1 == a: goto chekdest
if %1 == b: goto chekdest
goto nogood
:CHEKDEST
for %%Z in (C:,D:,E:,F:,c:,d:,e:,f:) do if %2 == %%Z goto doitnow
goto NOGOOD
:deskinstal
echo ╔════════════════════════════════════════╗
echo ║ Wolfpack Hard Disk install Program ║
echo ╚════════════════════════════════════════╝
echo
echo Wolfpack will be installed into the current directory
echo
echo
echo Type Cntrl-Break now to stop install
echo then type Y at prompt
echo OR
echo tap return to continue install
pause
copy a:instalhd.dat instalhd.bat
goto last
:DOITNOW
echo ╔════════════════════════════════════════╗
echo ║ Wolfpack Hard Disk install Program ║
echo ╚════════════════════════════════════════╝
echo
echo Installing Wolfpack on drive %2
echo
echo
echo
echo Type Cntrl-Break now to stop install
echo then type Y at prompt
echo OR
echo tap return to continue install
pause
echo creating WOLFDEMO directory
md %2\WOLFDEMO
copy %1\instalhd.dat %2\WOLFDEMO\instalhd.bat
if not exist %2\WOLFDEMO\instalhd.bat goto baddirs
cd %2\WOLFDEMO
%2
goto last
:NOGOOD
cls
echo
echo Hard disk install program for WolfPack.
echo
echo INSTALLD [Source Drive] [Target Drive]
echo
echo To install wolfpack from drive A: to Hard Drive C: you would type
echo
echo INSTALLD A: C:
goto endofit
:BADDIRS
echo
echo Wolfpack install failed!
echo Drive %2 may be full or not ready!
goto endofit
:LAST
instalhd.bat %1 %2
:ENDOFIT