Batch File - Menu Choice & Input
等待使用者輸入值, 並將值丟%INPUT%:inputset INPUT=
set /P INPUT=Type input: %=%
if "%INPUT%"=="" goto input
echo Your input was: %INPUT%選單choice:/c1234567UE!
if errorlevel 10 goto edit
if errorlevel 9 goto exit
if errorlevel 8 goto menu2
if errorlevel 7 goto scurk
if errorlevel 6 goto dm
if errorlevel 5 goto war2
if errorlevel 4 goto sc2000
if errorlevel 3 goto wack
if errorlevel 2 goto offroad
if errorlevel 1 goto doomReference: http://http-server.carleton.ca/~dmcfet/menu.html
頁:
[1]