: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
:xianshiyincang echo 输入X显示 输入Y隐藏 set /p yszy= if /i "%yszy%"=="""" (goto start) if /i "%yszy%"=="x" (set xy=1 set yszy=显示 goto xywj1) if /i "%yszy%"=="y" (set xy=0 set yszy=隐藏 goto xywj1) goto xianshiyincang :xywj1 REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\&;/v Hidden /t REG_DWORD /d %xy% /F >nul echo ---------------------------------------------------------------------- echo 隐藏文件已 %yszy%.刷新即可 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