雪花勇闯天涯口感:给大家一个简易的清理系统文件清理工具~方便好用 10秒搞定

来源:百度文库 编辑:中财网 时间:2024/04/19 21:11:05
使用方法:在桌面新建一个记事本 然后将下列代码复制进去 然后保存为.bat文件 就可以了 双击即可运行 方便好用 放在桌面上还不会忘记
代码如下:
@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 清除系统LJ完成! knife 出品 (╯▽╰)

echo. & pause

命名为.bat文件后 如下图 双击 就可以运行


运行 结束会有提示 按任意键 即可退出


好了 说完了 这个 东西 还是很好用的