Reply 20 of 21, by netolk
netolk
Offline
Rank
Newbie
I has it already sloved but tanks
I has it already sloved but tanks
In case anyone arrives here as I did recently looking for answers. I made this menu batch from reading these posts, if someone wants like a tldr example skeleton to work from:
echo offCLS:MENUECHO.ECHO.ECHO 1 - Episode 1ECHO 2 - Episode 2ECHO 3 - Episode 3ECHO 4 - Episode 4ECHO 5 - EXITECHO.choice /n /c:12345 "Press 1, 2, 3, 4, or 5:"if ERRORLEVEL 21 goto endif ERRORLEVEL 20 goto 20if ERRORLEVEL 19 goto 19if ERRORLEVEL 18 goto 18if ERRORLEVEL 17 goto 17if ERRORLEVEL 16 goto 16if ERRORLEVEL 15 goto 15if ERRORLEVEL 14 goto 14if ERRORLEVEL 13 goto 13if ERRORLEVEL 12 goto 12if ERRORLEVEL 11 goto 11if ERRORLEVEL 10 goto 10if ERRORLEVEL 9 goto 9if ERRORLEVEL 8 goto 8if ERRORLEVEL 7 goto 7if ERRORLEVEL 6 goto 6if ERRORLEVEL 5 goto 5if ERRORLEVEL 4 goto 4if ERRORLEVEL 3 goto 3if ERRORLEVEL 2 goto 2:1PTOMB1.EXEgoto end:2PTOMB2.EXEgoto end:3PTOMB3.EXEgoto end:4PTOMB4.EXEgoto end:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19
:20:end