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 offecho Menuecho ====echo.echo 1. Point'n'clickecho 2. Gestionecho 3. STRecho 4. Doom-likeecho 5. Puzzleecho 6. Aventure-Actionecho 7. ...echo.echo.choice /c:1234567890ABif errorlevel 1 goto PnCif errorlevel 2 goto Gestionif errorlevel 3 goto STRif errorlevel 4 goto Doomlikeif errorlevel 5 goto Puzzleif errorlevel 6 goto AAif errorlevel 7 goto 7if errorlevel 8 goto 8if errorlevel 9 goto 9if errorlevel 10 goto 0if errorlevel 11 goto Aif errorlevel 12 goto Bgoto exit
Whatever the choice I make, I keep going with the same errorlevel choice (1 in this case).
Can someone help me with it ?