垃圾清理编码bat

2025-10-16 12:17:42

1、打开电脑,在桌面上点击右键,新建,文档文本(记事本)。打开新建的记事本,输入以下代码

2、@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\*.*"

echo 清除系统LJ完成!

echo. & pause

3、在点击左上角的文件,另存为。然后重命名:垃圾清理组建.bat  记住后缀必须是.bat       最后形成以下文件

垃圾清理编码bat

4、要清理垃圾的时候只需点击它就行了

垃圾清理编码bat

5、感谢大众的支持和参与!

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢