批量删除垃圾文件的命令

骆驼 发表于 2008-10-15 12:00 | 来源: | 阅读 799 views

将以下内容复制到记事本,并保存成DEl.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\*.*"

del /f /s /q "d:\temp\temp\*.*"

del /f /s /q "d:\temp\Internet 临时文件\*.*"

echo 清除系统垃圾完成!

echo. & pause
关键字:
喜欢骆驼调频的文章,那就通过 RSS Feed 功能订阅阅读吧!

我要评论

*

* 绝不会泄露



返回首页 | 关于我们 | 联系我们 | 留言薄 | 网站地图 | FAQ