当前位置:首页 > 笔记 > 正文内容

批处理方式清理系统垃圾

5个月前 (11-30)237

复制以下内容到.bat文件内

不会保存bat文件自行百度

代码如下:

@echo off
title 系统垃圾清工具,正在清理中…
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 清除系统垃圾文件完成!


扫描二维码推送至手机访问。

版权声明:本文由网管老李博客发布,如需转载请注明出处。

本文链接:https://071058.com/post/55.html

“批处理方式清理系统垃圾” 的相关文章

发表评论

访客

看不清,换一张

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