返回列表 回复 发帖

有效清理C盘垃圾文件,全自动~~~

有效清理C盘垃圾文件,全自动~~~
1.大家把一下代码用粘贴到文本文档中

2.然后“另存为…”  文件类型选择“所有文件” 然后保存成 “垃圾清理.bat”

3.双击运行。


代码如下:

@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 清除系统垃圾完成!
echo. & pause


如果你的杀毒软件提醒,轻让你的杀毒软件允许其运行。
早就有了,用着还可以 :cool: :cool: :cool: :cool: :Co:
返回列表