怎么不用第三方软件来清理windows系统垃圾
1、第一步先在桌面建立一个空白文档

2、在文档里复制我们的代码
@echo off
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%emp*.*
del /f /a /q %systemdrive%*.sqm
del /f /s /q %windir%SoftwareDistributionDownload*.*
del /f /s /q "%userprofile%cookies*.*"
del /f /s /q "%userprofile%ecent*.*"
del /f /s /q "%userprofile%local settingsemporary internet files*.*"
del /f /s /q "%userprofile%local settingsemp*.*"
echo 清除系统垃圾文件完成!
echo. & pause

3、然后选择文件 另存为

4、把文件名改为 清理系统垃圾.bat 存储位置选择桌面

5、桌面就会出现我们制作好的程序,点击运行就会开始自动清理垃圾了。

阅读量:192
阅读量:98
阅读量:76
阅读量:144
阅读量:71