教你一键清理系统垃圾
- 分类:帮助 回答于: 2020年06月26日 11:12:02
电脑随着使用时间的增长,不管是电脑的运行速度都会变慢,其实这个是系统盘垃圾过多导致的,这该怎么办呢?今天小编教你电脑一键清理系统垃圾的方案。
1、桌面右击新建文本文档。

2、将源代码复制粘贴到记事本。
@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

3、接着将文本重命名为“一键系统垃圾清理.bat”

4、确定后弹出更改拓展名的提示,直接选择"是"。

5、最后双击运行即可。

6、接着等待一键清理垃圾成功,点击键盘任意键结束,完成清理。

以上就是电脑一键清理系统垃圾的解决方案。
















猜您喜欢
- 笔记本电脑闪屏问题解决方案..2024/03/14
- xp系统支持多大内存,小编教你WinXP能..2018/08/27
- 如何把办公室的打印机添加到自己的电..2021/03/06
- 英雄联盟游戏无法进入?2024/02/22
- 水印是什么,小编教你格式工厂怎么加水..2018/10/09
- 2020新电脑处理器排行榜2020/11/16
相关推荐
- 电脑开机密码忘了怎么办,多种方法帮你..2020/05/18
- 合并单元格快捷键是什么2020/06/16
- 详细介绍三大国产系统2020/11/21
- 笔记本电脑键盘失灵一键修复怎么做..2021/03/16
- 如何高效实现word怎么转pdf:全面解析与..2024/06/15
- 如何选择一台好电脑2024/02/20