包括 ECHO 1. 显示或隐藏文件 ECHO 2. 清理系统垃圾 ECHO 3. 注册表解除锁定 ECHO 4. 修复IE浏览器 ECHO 5. 关闭默认共享 ECHO 6. 管理控制MMC ECHO 7. 清除多余启动项 @ECHO off @title 小助手 By:柴子
:start CLS COLOR 0f MODE con: COLS=41 LINES=18 set tm1=%time:~0,2% set tm2=%time:~3,2% set tm3=%time:~6,2% ECHO %date% %tm1%点%tm2%分%tm3%秒 ECHO ──────────────────── ECHO 选择操作,回车! By: 柴子 QQ:3819843 ECHO ──────────────────── ECHO. ECHO 1. 显示或隐藏文件 ECHO 2. 清理系统垃圾 ECHO 3. 注册表解除锁定 ECHO 4. 修复IE浏览器 ECHO 5. 关闭默认共享 ECHO 6. 管理控制MMC ECHO 7. 清除多余启动项 ECHO 8. 注销 ECHO 9. 退出 ECHO.
: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
:qinglilaji @echo off echo 正在清理系统垃圾文件,请稍等...... @del /f /s /q %systemdrive%\*.tmp @del /f /s /q %systemdrive%\*._mp @del /f /s /q %systemdrive%\*.log @del /f /s /q %systemdrive%\*.gid @del /f /s /q %systemdrive%\*.chk @del /f /s /q %systemdrive%\*.old @del /f /s /q %systemdrive%\recycled\*.* @del /f /s /q %windir%\*.bak @del /f /s /q %windir%\prefetch\*.* @rd /s /q %windir%\temp & md %windir%\temp @del /f /q %userprofile%\cookies\*.* @del /f /q %userprofile%\recent\*.* @del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" @del /f /s /q "%userprofile%\Local Settings\Temp\*.*" @del /f /s /q "%userprofile%\recent\*.*" echo 清理系统垃圾完成! pause GOTO start
:jiesuo @echo REGEDIT4>>123.reg @echo.>>123.reg @echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]>>123.reg @echo "DisableRegistryTools"=dword:00000000>>123.reg @REGEDIT /S /C 123.reg @del "123.reg" /q /f echo 成功解除注册表锁定! pause GOTO start
:xiufu @echo off echo 耗时较长,请等待... rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\System32\dacui.dll rundll32.exe advpack.dll /DelNodeRunDLL32 %systemroot%\Catroot\icatalog.mdb /s regsvr32 setupwbv.dll /s regsvr32 wininet.dll /s regsvr32 comcat.dll /s regsvr32 shdoc401.dll /s regsvr32 shdoc401.dll /i /s regsvr32 asctrls.ocx /s regsvr32 oleaut32.dll /s regsvr32 shdocvw.dll /I /s regsvr32 shdocvw.dll /s regsvr32 browseui.dll /s regsvr32 browseui.dll /I /s regsvr32 msrating.dll /s regsvr32 mlang.dll /s regsvr32 hlink.dll /s regsvr32 mshtml.dll /s regsvr32 mshtmled.dll /s regsvr32 urlmon.dll /s regsvr32 plugin.ocx /s regsvr32 sendmail.dll /s regsvr32 comctl32.dll /i /s regsvr32'&VrfFBf$U44$U7&E&VBfF46uF'GW&Vusf'7FV'7r#rfFBf$U44$U7&E&VBfF46uF'GW&Vusf'7Wf'74$U7&Ew5W'&VW'6V'##rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$"#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$"f'76'7$3u57FV%tDUERfR"#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$"f'7Wf'7#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$"f'7'7#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$"f'7FV'7DUE#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$"f'7Wf'74$U7&Ew5W'&VW'6V'##rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$7#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$7f'76'7"$3u5rR"fGdFVbf&F"#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$7f'7Wf'7#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$7f'7'7#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$7f'7FV'7DUE#rfFBf$U44$U7&E&VBfF46uF'GW&Vu#$7f'7Wf'74$U7&Ew5W'&VW'6V'##$3Vf6WGFfW6W'5Zx8[f'7'#$3Vf6WGFVfVfW6W%Zx8[f'7'#"WW6W'&RUZx8[f'7'#'Bf3u56VV7G%W566rR#F77F'B##b#v### |
|