如何清理系统垃圾文件

2024-11-02 05:46:43

1、双击我的电脑,进入C:\Windows\Temp文件夹,将所有文件删除;

如何清理系统垃圾文件

3、新建文本文档,输入以下代码:@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%\recycled\*.*del /f /s /q %windir%\*.bakdel /f /s /q %windir%\prefetch\*.*rd /s /q %windir%\temp & md %windir%\tempdel /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

如何清理系统垃圾文件

5、双击一键系统垃圾清理.bat,开始自动清理垃圾文件;

如何清理系统垃圾文件
猜你喜欢