多语言展示
当前在线:689今日阅读:152今日分享:13

如何清理系统垃圾文件?

如何清理系统垃圾文件?
工具/原料

电脑

方法/步骤
1

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

2

进入回收站,将所有文件清空;

3

新建文本文档,输入以下代码:@echo off 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 %windir%\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

4

点击文件——另存为,命名为“一键系统垃圾清理.bat”

5

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

6

清理完毕,按任意键退出。

推荐信息