: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