First post, by Wolfdude
I am trying to create a batch file that will give me a list of games, and then i could execute one of them by typing the number associated with that game.
It works with the command prompt but i am having problems with dosbox. In dosbox once i execute the batch file I cannot type a number into the answer line. (I attach images)
Title = "Game List"
@Echo off
CLS
mode con: cols=40 lines=15
:MENU
cls
Echo Choose a game from the list:
Echo.
Echo [1] Comanche
Echo [20] Duke 3D
Echo.
set /P menu=:
if '%menu%'=='1' "D:\\dosgames\COMANCHE\COMANCHE.exe"
if '%menu%'=='20' "D:\\dosgames\Duke3D\Duke3D.exe"
Command Prompt
DosBox
Any help would be welcome. (P.S. I'm a noob at programming.)
Thanks for reading my thread.