First post, by phil12345678910
Rank
Newbie
Hi,
I just want to make a simple menu
ERRORLEVEL is always empty
@echo off
cls
echo ===========================
echo DOSBox Game Menu
echo ===========================
echo 1. Casino Games
echo 2. Ante-Upa
echo 3. Lode Runner
echo ===========================
choice /c123 /n "Select an option:"
echo Selected option: %ERRORLEVEL%
if %ERRORLEVEL%==1 (
echo "launching casino games"
rem mount a: W:\GAMES\Poker\CasinoGames
rem a:
rem runme.bat
goto end
)
if %ERRORLEVEL%==2 (
echo "launching Ante Up"
rem mount a: W:\GAMES\Poker\Ante-Upa
rem a:
rem FNPC.EXE
goto end
)
if %ERRORLEVEL%==3 (
echo "launching Lode Runner"
rem mount a: W:\GAMES\RETRO\DOS\abandonware\LODERUN
rem a:
rem jouer.bat
goto end
)
:end
thanks for your help