教你一招,轻松清除电脑垃圾

2025-05-09 13:19:07

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 清除系统垃圾完成! echo. & pause

教你一招,轻松清除电脑垃圾

3、然后保存文件,把该文件保存成clear.bat的文件,电脑会提示你“如果改变文件扩展名,可能导致文件不可用”这样的提示,不要担心,点击“是”就可以了。

教你一招,轻松清除电脑垃圾

4、双击“clear.bat”文件,一切搞定,该文件就自动开始为您的电脑清理垃圾啦!

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