First post, by Matans
- Rank
- Newbie
I edited DOSBox configuration to do the following:
[autoexec]
# Lines in this section will be run at startup.
rem @echo=off
mount c C:\DosGames
c:\
:menu
cls
echo 1.temp1
echo 2.temp2
echo 3.temp3
echo 4.exit
set /p choice="select a number between 1 and 3"
if "%choice%"=="1" goto temp1
if "%choice%"=="2" goto temp2
if "%choice%"=="3" goto temp3
if "%choice%"=="4" goto exit
echo Error: Invalid choice.
pause
goto menu
:temp1
echo 1
pause
goto exit
:temp2
echo 2
pause
goto exit
:temp3
echo 3
pause
goto exit
:exit
exit
The system hangs with the "Error: Invalid choice" pause, and doesnt wait for any input.
Help please! 😢
“It takes a big man to cry, but it takes a bigger man to laugh at that man.†(Jack Handey)