home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 4
/
1995-03_Disc_4.iso
/
wog
/
instwog.bat
< prev
next >
Wrap
DOS Batch File
|
1994-12-28
|
2KB
|
181 lines
@echo off
cls
echo Please press the letter corresponding to
echo your CD-ROM drive (D, E, F, and G are
echo valid drive choices)
choice /c:defg /n
if errorlevel 4 goto inst4
if errorlevel 3 goto inst3
if errorlevel 2 goto inst2
if errorlevel 1 goto inst1
:inst1
echo Please press the letter corresponding to
echo your hard drive (C, D, E, F and G are
echo valid drive choices)
choice /c:cdefg /n
if errorlevel 5 goto inst10
if errorlevel 4 goto inst9
if errorlevel 3 goto inst8
if errorlevel 2 goto inst7
if errorlevel 1 goto inst6
:inst6
INSTALL D C
c:
goto end
:inst7
INSTALL D D
d:
goto end
:inst8
INSTALL D E
e:
goto end
:inst9
INSTALL D F
f:
goto end
:inst10
INSTALL D G
g:
goto end
:inst2
echo Please press the letter corresponding to
echo your hard drive (C, D, E, F and G are
echo valid choices)
choice /c:cdefg /n
if errorlevel 5 goto inst10
if errorlevel 4 goto inst9
if errorlevel 3 goto inst8
if errorlevel 2 goto inst7
if errorlevel 1 goto inst6
:inst6
INSTALL E C
c:
goto end
:inst7
INSTALL E D
d:
goto end
:inst8
INSTALL E E
e:
goto end
:inst9
INSTALL E F
f:
goto end
:inst10
INSTALL E G
g:
goto end
:inst3
echo Please enter the letter corresponding
echo to your hard drive (C, D, E, F and G
echo are valid choices)
choices /c:cdefg /n
if errorlevel 5 goto inst10
if errorlevel 4 goto inst9
if errorlevel 3 goto inst8
if errorlevel 2 goto inst7
if errorlevel 1 goto inst6
:inst6
INSTALL F C
c:
goto end
:inst7
INSTALL F D
d:
goto end
:inst8
INSTALL F E
e:
goto end
:inst9
INSTALL F F
f:
goto end
:inst10
INSTALL F G
g:
goto end
:inst4
echo Please enter the letter corresponding
echo to your hard drive (C, D, E, F and G
echo are valid choices)
choices /c:cdefg /n
if errorlevel 5 goto inst10
if errorlevel 4 goto inst9
if errorlevel 3 goto inst8
if errorlevel 2 goto inst7
if errorlevel 1 goto inst6
:inst6
INSTALL G C
c:
goto end
:inst7
INSTALL G D
d:
goto end
:inst8
INSTALL G E
e:
goto end
:inst9
INSTALL G F
f:
goto end
:inst10
INSTALL G G
g:
goto end
:end