win10清理垃圾指令代码
时间:2024-03-09 | 作者: | 阅读:0win10清理垃圾指令代码:
方法一:
1、首先打开“运行”页面,
2、输入“cleanmgr”,点击确定,
3、等待检测存在的垃圾。
4、接着去选择对应的“驱动器”,(一次只能清理一个位置,多个位置可以重复操作步骤)
5、然后勾选要删除的文件,点击“确定”,
6、最后等待清理完成就可以了。
方法二:
1、右击桌面空白处,选择“文本文档”
2、之后打开文本文档。
3、复制代码
@echo off
pause
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 SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
del /f /s /q "%userprofile%recent*.*"
echo 清理系统垃圾完成!
echo. & pause
4、粘贴至文本文档
5、点击“另存为”
6、更改文件名为 系统垃圾清理.bat
7、双击运行“系统垃圾清理.bat”。
8、此时可以按下任意键。
9、清理开始。
10、出现“系统垃圾清理完成”即可。
ps:当然,如果用户们清理完以后,垃圾还是很多的话,用户么可以选择重装系统的方式,让电脑变得纯净哦~
福利游戏
相关文章
更多-
- win10休眠怎么设置
- 时间:2024-02-02
-
- Win10最详细优化设置告别卡顿
- 时间:2024-02-02
-
- 快速启动开启还是关闭
- 时间:2024-02-02
-
- win10录屏快捷键是什么
- 时间:2024-02-02
-
- win10怎么删除账户管理员
- 时间:2024-02-02
-
- win10删除输入法步骤
- 时间:2024-02-02
-
- 键盘失灵怎么办win10
- 时间:2024-02-02
-
- win10摄像头禁用了怎么解除
- 时间:2024-02-02
大家都在玩
大家都在看
更多-
- BNB怎么买在哪里买
- 时间:2025-07-11
-
- 准确率92%!苹果新模型可通过行为模式预测怀孕
- 时间:2025-07-11
-
- 小米之家“收留”小男孩 王化:孩子懂事到让人心疼
- 时间:2025-07-11
-
- 2025上半年车型销量榜:吉利星愿干掉比亚迪、特斯拉 勇夺第一
- 时间:2025-07-11
-
- 空调连夜工作突然起火 凌晨2点把房间烧了
- 时间:2025-07-11
-
- CATCEO币投资潜力分析:值得长期持有吗?
- 时间:2025-07-11
-
- LINK卖不掉怎么办
- 时间:2025-07-11
-
- 蔡文胜3800枚ETH转入币安
- 时间:2025-07-11