Tokugawa Corporate Forums

Retro Japanese Computing
It is currently March 28th, 2024, 8:32 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: August 13th, 2012, 3:25 pm 
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.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group