home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BRAIN
/
BRAIN.ISO
/
menu.bat
< prev
Wrap
DOS Batch File
|
1997-01-01
|
2KB
|
84 lines
@echo off
cls
echo Looking for CD-ROM drive...
:DDISK
IF NOT EXIST D:\Menu.bat GOTO EDISK
D:
goto MENU
:EDISK
IF NOT EXIST E:\Menu.bat GOTO FDISK
E:
goto MENU
:FDISK
IF NOT EXIST F:\Menu.bat GOTO GDISK
F:
goto MENU
:GDISK
IF NOT EXIST G:\Menu.bat GOTO HDISK
G:
goto MENU
:HDISK
IF NOT EXIST H:\Menu.bat GOTO IDISK
H:
goto MENU
:IDISK
IF NOT EXIST I:\Menu.bat GOTO JDISK
I:
goto MENU
:JDISK
IF NOT EXIST J:\Menu.bat GOTO KDISK
J:
goto MENU
:KDISK
IF NOT EXIST K:\Menu.bat GOTO LDISK
K:
goto MENU
:LDISK
IF NOT EXIST L:\Menu.bat GOTO MENU
L:
:MENU
cd \
cd Install
cls
echo.
echo ╔═════════════════════════════════════════╗
echo ║ PC PLAY DOS Installer ║
echo ╚═════════════════════════════════════════╝
echo.
echo ╔════════════════════════════════════════════════════╗
echo ║ Press the letter of the game you wish to install ║
echo ╚════════════════════════════════════════════════════╝
echo.
echo a. X-COM III: Apocalypse
echo b. Theme Hospital
echo c. Drilling Billy
echo d. WarDiary
echo.
echo x. Exit
echo.
echo.
choice /c:abcdefghijklmnopqrstuvwxyz /n
cls
if errorlevel 5 goto end
if errorlevel 4 goto inst4
if errorlevel 3 goto inst3
if errorlevel 2 goto inst2
if errorlevel 1 goto inst1
:inst1
Xcom.bat
goto end
:inst2
Hospital.bat
goto end
:inst3
Billy.bat
goto end
:inst4
Wardiary.bat
goto end
:end