电脑系统自动清理垃圾的代码(电脑一串代码清理垃圾,非常方便,系统大瘦身)

@echo off

echo 正在清除系统垃圾文件,请稍等......

系统垃圾清理代码

del /f /s /q %systemdrive%*.tmp

del /f /s /q %systemdrive%*._mp

del /f /s /q %systemdrive%*.gid

del /f /s /q %systemdrive%*.chk

del /f /s /q %systemdrive%*.old

del /f /s /q %windir%*.bak

del /f /s /q %windir%temp*.*

del /f /a /q %systemdrive%*.sqm

del /f /s /q %windir%SoftwareDistributionDownload*.*

del /f /s /q "%userprofile%cookies*.*"

del /f /s /q "%userprofile%recent*.*"

del /f /s /q "%userprofile%local settingstemporary internet files*.*"

del /f /s /q "%userprofile%local settingstemp*.*"

echo 清除系统垃圾文件完成!

echo. & pause


大家首先创建一个文本文档,把这段代码复制在里面

复制代码后保存

再将我们文档后缀名txt改为bat:最后我们"以管理员身份运行"运行就好

您可以还会对下面的文章感兴趣

最新评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

使用微信扫描二维码后

点击右上角发送给好友