First post, by netolk
Hi there, I has maked a Menu in Bat. When I try to run it in DOSBOX it jams. Can Anybody tell me why?
this is the code
@ECHO off
cls
:start
ECHO.
ECHO.
ECHO 1.Lemmings
ECHO.
ECHO 2.Pacman
ECHO.
ECHO 3.Prehistorik
ECHO.
ECHO 4.Prehistorik2
ECHO.
ECHO 5.Exit
ECHO.
set choice=
set /p choice=Type the number to print text.
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto Lemmings
if '%choice%'=='2' goto Pacman
if '%choice%'=='3' goto Prehistorik
if '%choice%'=='4' goto Prehistorik2
if '%choice%'=='5' goto Exit
ECHO "%choice%" is not valid please try again
ECHO.
goto start
:Lemmings
cd Lemmings
lemvga.com
cd ..
Menu.bat
goto end
:Pacman
cd pacman
pacpc2.exe
cd ..
Menu.bat
goto end
:Prehistorik
cd prehistorik
historik.exe
cd..
Menu.bat
goto end
:Prehistorik2
cd prehistorik2
pre2.exe
cd..
menu.bat
goto end
:Exit
exit
goto end
:end
grtz. netolk