我做这样的事情:
echo 1-exit
echo 2-about
echo 3-play
choice /c 123 >nul
if errorlevel 1 goto exit
if errorlevel 2 goto about
if errorlevel 3 goto play
:play
blah
:about
blah
:exit
cls
Run Code Online (Sandbox Code Playgroud)
如果我选择"播放"选项,它将退出.我该如何防止这种情况发生?
batch-file ×1