home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 9
/
1995-08_Disc_9.iso
/
b13demo
/
instb13.bat
< prev
next >
Wrap
DOS Batch File
|
1995-06-06
|
3KB
|
173 lines
@echo off
cls
@echo ╔══════════════════════════════════╗
@echo ║ Please press the letter of the ║
@echo ║ HARD DRIVE to install to ║
@echo ║ (C-Z are valid drive choices) ║
@echo ╚══════════════════════════════════╝
@echo .
@echo Enter your selection [default=C]:
choice /c:cdefghijklmnopqrstuvwxyz /n
if errorlevel 24 goto dos24
if errorlevel 23 goto dos23
if errorlevel 22 goto dos22
if errorlevel 21 goto dos21
if errorlevel 20 goto dos20
if errorlevel 19 goto dos19
if errorlevel 18 goto dos18
if errorlevel 17 goto dos17
if errorlevel 16 goto dos16
if errorlevel 15 goto dos15
if errorlevel 14 goto dos14
if errorlevel 13 goto dos13
if errorlevel 12 goto dos12
if errorlevel 11 goto dos11
if errorlevel 10 goto dos10
if errorlevel 9 goto dos9
if errorlevel 8 goto dos8
if errorlevel 7 goto dos7
if errorlevel 6 goto dos6
if errorlevel 5 goto dos5
if errorlevel 4 goto dos4
if errorlevel 3 goto dos3
if errorlevel 2 goto dos2
if errorlevel 1 goto dos1
:dos24
SET %y=z:
goto pcg
:dos23
SET %y=y:
goto pcg
:dos22
SET %y=x:
goto pcg
:dos21
SET %y=w:
goto pcg
:dos20
SET %y=v:
goto pcg
:dos19
SET %y=u:
goto pcg
:dos18
SET %y=t:
goto pcg
:dos17
SET %y=s:
goto pcg
:dos16
SET %y=r:
goto pcg
:dos15
SET %y=q:
goto pcg
:dos14
SET %y=p:
goto pcg
:dos13
SET %y=o:
goto pcg
:dos12
SET %y=n:
goto pcg
:dos11
SET %y=m:
goto pcg
:dos10
SET %y=l:
goto pcg
:dos9
SET %y=k:
goto pcg
:dos8
SET %y=j:
goto pcg
:dos7
SET %y=i:
goto pcg
:dos6
SET %y=h:
goto pcg
:dos5
SET %y=g:
goto pcg
:dos4
SET %y=f:
goto pcg
:dos3
SET %y=e:
goto pcg
:dos2
SET %y=d:
goto pcg
:dos1
SET %y=c:
goto pcg
:pcg
@echo Install to %y%\B13DEMO
choice
if errorlevel 2 goto inst2
if errorlevel 1 goto inst1
:inst1
%x%
cd\B13DEMO
md %y%\B13DEMO
copy B13.EXE %y%\B13DEMO
%y%
CD\B13DEMO
CALL B13.EXE
CLS
@echo ╔══════════════════════════════════╗
@echo ║ To play, enter the directory ║
@echo ║ %y%\B13DEMO on your HARD DRIVE ║
@echo ║ and type B13 to start the game. ║
@echo ╚══════════════════════════════════╝
@echo .
pause
%x%
CD\
goto end
:inst2
cls
@echo ╔════════════════════════════════════════════════════════════╗
@echo ║ If you wish to install Bureau 13 to a directory other ║
@echo ║ than the default, please exit our CD, create the ║
@echo ║ directory you wish to use on your hard drive, go to ║
@echo ║ the %x%\B13DEMO directory on The CD and copy all the ║
@echo ║ files to that directory. ║
@echo ╚════════════════════════════════════════════════════════════╝
echo .
pause
%x%
CD\
:end