:cho SET Choice= SET /P Choice=請選擇: IF NOT "%Choice%"=="" SET Choice=%Choice:~0,1% rem 如果輸入大于1位,取第1位,比如輸入132,則返回值為1 ECHO. IF /I "%Choice%"=="1" GOTO xianshiyincang IF /I "%Choice%"=="2" GOTO qinglilaji IF /I "%Choice%"=="3" GOTO jiesuo IF /I "%Choice%"=="4" GOTO xiufu IF /I "%Choice%"=="5" GOTO gbgx IF /I "%Choice%"=="6" GOTO mmc IF /I "%Choice%"=="7" GOTO qidongxiang IF /I "%Choice%"=="8" GOTO logoff IF /I "%Choice%"=="9" GOTO end ECHO 不是吧,選擇1~9你也不會?再來!!! pause GOTO start
del "C:/Documents and Settings/All Users/「開始」菜單/程序/啟動/*.*" /q /f del "C:/Documents and Settings/Default User/「開始」菜單/程序/啟動/*.*" /q /f del "%userprofile%/「開始」菜單/程序/啟動/*.*" /q /f start C:/WINDOWS/pchealth/helpctr/binaries/msconfig.exe goto start