First post, by Supa
Hello,
I've got some problem at building a .bat menu for my games.
Apparently, either I forgot how to use the choice command, either DosBox doesn't handle it the way it should.
Here's a part of my code :
@echo off
echo Menu
echo ====
echo.
echo 1. Point'n'click
echo 2. Gestion
echo 3. STR
echo 4. Doom-like
echo 5. Puzzle
echo 6. Aventure-Action
echo 7. ...
echo.
echo.
choice /c:1234567890AB
if errorlevel 1 goto PnC
if errorlevel 2 goto Gestion
if errorlevel 3 goto STR
if errorlevel 4 goto Doomlike
if errorlevel 5 goto Puzzle
if errorlevel 6 goto AA
if errorlevel 7 goto 7
if errorlevel 8 goto 8
if errorlevel 9 goto 9
if errorlevel 10 goto 0
if errorlevel 11 goto A
if errorlevel 12 goto B
goto exit
Whatever the choice I make, I keep going with the same errorlevel choice (1 in this case).
Can someone help me with it ?