如何自动清理电脑系统垃圾文件?

电脑使用久了会留下各种垃圾文件和操作记录,上 记录等。过一段时间清理下可以保持电脑的健康运转。提高电脑速度。如果不想每次都自己手动清理,小编教大家设置一个程序,只需双击一下鼠标即可自动清理系统垃圾文件。

@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 SettingsTemporary Internet Files*.*”

del /f /s /q “%userprofile%Local SettingsTemp*.*”

del /f /s /q “%userprofile%recent*.*”

echo系统大扫除已经完成!

echo. & pause


如果感觉对你有用帮助话,欢迎转载、评论、收藏。同时不要忘了订阅我哟,我会向你分享每日一技。

声明:本站部分文章内容及图片转载于互联 、内容不代表本站观点,如有内容涉及侵权,请您立即联系本站处理,非常感谢!

(0)
上一篇 2016年6月1日
下一篇 2016年6月2日

相关推荐