home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 4
/
1995-03_Disc_4.iso
/
lemming
/
instlemm.bat
< prev
next >
Wrap
DOS Batch File
|
1994-12-28
|
1KB
|
63 lines
@echo off
cls
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 inst5
if errorlevel 4 goto inst4
if errorlevel 3 goto inst3
if errorlevel 2 goto inst2
if errorlevel 1 goto inst1
:inst1
md c:\games
md c:\games\l3
xcopy *.* /e c:\games\l3
echo To play, enter the directory c:\GAMES\L3
echo then type L3 and press ENTER
c:
goto end
:inst2
md D:\games
md D:\games\l3
xcopy *.* /e D:\games\l3
echo To play, enter the directory D:\GAMES\L3
echo then type L3 and press ENTER
D:
:inst3
md E:\games
md E:\games\l3
xcopy *.* /e E:\games\l3
echo To play, enter the directory E:\GAMES\L3
echo then type L3 and press ENTER
E:
goto end
:inst4
md F:\games
md F:\games\l3
xcopy *.* /e F:\games\l3
echo To play, enter the directory F:\GAMES\L3
echo then type L3 and press ENTER
F:
goto end
:inst5
md G:\games
md G:\games\l3
xcopy *.* /e G:\games\l3
echo To play, enter the directory G:\GAMES\L3
echo then type L3 and press ENTER
G:
goto end
:end