Code: Select all
set/p "cho=>"
if %cho%==1 start something.exe
if %cho%==2 start something-else.exe
But if i dont enter anything, and hit enter, i get this error code:
Code: Select all
start was unexpected at this time
I need it to "goto something" instead, anyone know how?
(The best would be to make the BACKSPACE to goto command if possible)