Win7/8.1如何快速清除系统垃圾文件节约系统空间

2025-12-26 12:21:26

1、新建“新建 Text Document.txt”并将下面的代码粘贴进去保存:

@echo off

echo == 优爱酷一键清除系统垃圾 [百度经验]==

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 %winder%\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

Win7/8.1如何快速清除系统垃圾文件节约系统空间

2、将文件重命名为“优爱酷一键清除系统垃圾.bat”,如图

Win7/8.1如何快速清除系统垃圾文件节约系统空间

3、开源代码,可以根据自己的需要进行修改。双击后运行即可看到效果。

针对一般情况下的系统盘一些垃圾和历史遗留文件,两周使用一次即可,效果非常明显!!特别是第一次运行!

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