Win7/8.1如何快速清除系统垃圾文件节约系统空间
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

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

3、开源代码,可以根据自己的需要进行修改。双击后运行即可看到效果。
针对一般情况下的系统盘一些垃圾和历史遗留文件,两周使用一次即可,效果非常明显!!特别是第一次运行!