@echo off
echo 正在查找系统临时文件.请稍后.......:)
title 专用垃圾处理器 Version 2.0
color 0A
title 正在处理临时文件
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
title 临时文件清楚完毕
title 正在清除日志文件
del /f /s /q %systemdrive%\*.log
title 临时文件清楚完毕
title 正在清除日志文件
del /f /s /q %systemdrive%\*.gid
title 临时文件清楚完毕
title 正在清除CHK文件
del /f /s /q %systemdrive%\*.chk
title CHK文件清除完毕
color 0B
title 正在清除日志文件
del /f /s /q %systemdrive%\*.old
title 日志文件清楚完毕
title 正在清除回收站垃圾文件
del /f /s /q %systemdrive%\recycled\*.*
title 回收站垃圾文件清楚完毕
title 正在清除备份文件
del /f /s /q %windir%\*.bak
title 备份文件清楚完毕
title 正在清楚日志文件
del /f /s /q %windir%\prefetch\*.*
title 临时文件清楚完毕
color 0C
title 正在清除日志文件
rd /s /q %windir%\temp & md %windir%\temp
title 临时文件清楚完毕
title 正在清除cookies文件
del /f /q %userprofile%\cookies\*.*
title cookies文件清楚完毕
title 正在清除日志文件
del /f /q %userprofile%\recent\*.*
title 临时文件清楚完毕
title 正在清除IE垃圾文件
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
title IE垃圾文件 清楚完毕
title 正在清除 临时文件夹的 垃圾文件
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
title 临时文件夹的 垃圾文件清楚完毕
title 最近打开的文档清除完毕
del /f /s /q "%userprofile%\recent\*.*"
title 最近打开的文档清除完毕
echo 清除系统临时文件完成! :)
exit
echo. & pause
本文作者:网友 来源:网络http://qq-713.blog.163.com/
CIO之家 www.ciozj.com 微信公众号:imciow