:cho set choice= set /p choice= 請選擇: IF NOT "%Choice%"=="" SET Choice=%Choice:~0,1% if /i "%choice%"=="1" goto start2 if /i "%choice%"=="2" goto start3 if /i "%choice%"=="3" goto ip if /i "%choice%"=="4" goto other if /i "%choice%"=="5" goto virus if /i "%choice%"=="6" goto taskill if /i "%choice%"=="7" goto quanxian if /i "%choice%"=="8" goto del if /i "%choice%"=="9" goto end if /i "%choice%"=="0" goto kill if /i "%choice%"=="h" goto help echo 選擇無效,請重新輸入 echo. goto cho