Code:
@ECHO OFF
:MENU
ECHO.
ECHO Welcome to the SupahPC98Drive. Please select a game or press 0 to go to command prompt
ECHO.
ECHO Please Select a game
ECHO 1 - Angel Halo by Active Soft (1996)
ECHO 2 - Ayumi-chan Monogatari Jissha-ban by Coremagazine and Alice Soft (1995)
ECHO 3 - Desire -Haitoku no Rasen- by C's Ware (1994)
ECHO 4 - Harlem Blade by Giga (1996)
ECHO 5 - Nana Eiyuu Monogatari 2 by Himeya Soft (1995)
ECHO 6 - Tamago Ryouri by Bonbee Bonbon (1995)
ECHO.
SET /P M=Type 1, 2, 3, 4, 5, or 6 and press Enter:
PAUSE > NUL
IF %M%==1 GOTO ANG
IF %M%==2 GOTO AYU
IF %M%==3 GOTO DES
IF %M%==4 GOTO HAR
IF %M%==5 GOTO NANA
IF %M%==6 GOTO TAMA
IF %M%==0 GOTO EOF
:ANG
CLS
cd anghalo
01.BAT
:AYU
CLS
cd ayumi
AYUMI.BAT
:DES
CLS
cd desire
DESIRE.BAT
:HAR
CLS
cd harbla
01.BAT
:NANA
CLS
cd nana
NANA2.EXE
:TAMA
CLS
cd tamago
TAMAGO.BAT
:EOF
EXIT
As you can see, I've been trying to develop a batch file in which will select and execute a game by pressing a numberkey, however, if I press any number other than 1 it will jump only to the first choice and start Angel Halo. What's the problem here? This is to replace AUTOEXEC.BAT on my .HDI image file.