home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 14
/
cdrt14.iso
/
pc
/
warrrun.bat
< prev
next >
Wrap
DOS Batch File
|
1995-06-13
|
3KB
|
217 lines
@echo off
REM JGP ;)
:QUEST1
echo.
echo Did you install Warriors to the default directory (C:\WAR)?
choice /c:YN
if errorlevel 2 goto QUEST2
if errorlevel 1 goto C
:QUEST2
echo.
echo Did you choose a drive other than C?
choice /c:YN
if errorlevel 2 goto sorry
if errorlevel 1 goto QUEST3
:QUEST3
echo.
echo Did you choose a path other than \WAR ?
choice /c:YN
if errorlevel 2 goto yes
if errorlevel 1 goto sorry
:sorry
cls
echo.
echo In order to start the demo, you must
echo change to the directory in which
echo Warriors was installed and then type: WAR
echo.
pause
goto end
:yes
@echo Please enter the letter corresponding to
@echo hard drive on which you installed Warriors
@echo (D through Z are valid drive choices)
choice /c:defghijklmnopqrstuvwxyz /n
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
:dos23
z:
cd \WAR
call WAR
goto switch
:dos22
y:
cd \WAR
call WAR
goto switch
:dos21
x:
cd \WAR
call WAR
goto switch
:dos20
w:
cd \WAR
call WAR
goto switch
:dos19
v:
cd \WAR
call WAR
goto switch
:dos18
u:
cd \WAR
call WAR
goto switch
:dos17
t:
cd \WAR
call WAR
goto switch
:dos16
s:
cd \WAR
call WAR
goto switch
:dos15
r:
cd \WAR
call WAR
goto switch
:dos14
q:
cd \WAR
call WAR
goto switch
:dos13
p:
cd \WAR
call WAR
goto switch
:dos12
o:
cd \WAR
call WAR
goto switch
:dos11
n:
cd \WAR
call WAR
goto switch
:dos10
m:
cd \WAR
call WAR
goto switch
:dos9
l:
cd \WAR
call WAR
goto switch
:dos8
k:
cd \WAR
call WAR
goto switch
:dos7
j:
cd \WAR
call WAR
goto switch
:dos6
i:
cd \WAR
call WAR
goto switch
:dos5
h:
cd \WAR
call WAR
goto switch
:dos4
g:
cd \WAR
call WAR
goto switch
:dos3
f:
cd \WAR
call WAR
goto switch
:dos2
e:
cd \WAR
call WAR
goto switch
:dos1
d:
cd \WAR
call WAR
goto switch
:C
C:
cd \WAR
call WAR
goto switch
:switch
pause
%x%
goto end
:end