admin 管理员组

文章数量: 1184232


@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完成!

echo. & pause

操作指南:

1.复制脚本到文本编辑器(建议使用记事本)

2.保存文件到电脑,保存名称  清理C盘.bat (文件名称不重要,自己能找到就可以,建议不要放桌面或C盘,后缀一定要改为.bat 否则无法执行)

3.双击  清理C盘.bat  (上面保存的文件),等待执行完成即可

本文标签: 编程 你的 深度清洁