Windows 7 [SOLVED i think..] set /p Not working properly, or If statement not working

Tievan

New Member
I'm trying to create a text-based game, but I can't get passed the menu because either "set /p" isn't taking an input, or "if '%...'" isn't seeing it. This is what I'm doing to test menus, currently

:mmenu
echo Main Menu
echo Start
echo Quit
SET /P "a=Select "
if "a"=="Start"
[removed:then ]goto :start
if "a"=="Quit"
[removed:then ]goto :quit
[removed:uhoh]
echo Something Went Wrong!
pause
exit
:quit
cls
echo It Works! Exit!
pause
exit
:start
cls
echo It Works! Start!
pause
exit

What am I doing wrong?
 
Last edited:
Back
Top