导读 今天小编肥嘟来为大家解答以上的问题。垃圾清理代码是什么,垃圾清理代码相信很多小伙伴还不知道,现在让我们一起来看看吧!1、@echo offec

今天小编肥嘟来为大家解答以上的问题。垃圾清理代码是什么,垃圾清理代码相信很多小伙伴还不知道,现在让我们一起来看看吧!

1、@echo offecho 正在清除系统垃圾文件,请稍等......del /f /s /q %systemdrive%*.tmpdel /f /s /q %systemdrive%*._mpdel /f /s /q %systemdrive%*.logdel /f /s /q %systemdrive%*.giddel /f /s /q %systemdrive%*.chkdel /f /s /q %systemdrive%*.olddel /f /s /q %systemdrive%ecycled*.*del /f /s /q %windir%*.bakdel /f /s /q %windir%prefetch*.*rd /s /q %windir%emp & md %windir%empdel /f /q %userprofile%cookies*.*del /f /q %userprofile%ecent*.*del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"del /f /s /q "%userprofile%Local SettingsTemp*.*"del /f /s /q "%userprofile%ecent*.*"echo 清除系统垃圾完成!echo. & pause 打开记事本,贴入上面的代码。

2、另存为*.bat。

本文就为大家分享到这里,希望小伙伴们会喜欢。