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
精选合集
更多大家都在玩
大家都在看
更多-
- 米塔第14章怎么玩
- 时间:2025-04-28
-
- 米塔第12章怎么玩
- 时间:2025-04-28
-
- USD Coin发行量是多少 USD Coin是哪年发行的
- 时间:2025-04-28
-
- 米塔第1章怎么过
- 时间:2025-04-28
-
- 友商开始加入35mm俱乐部!努比亚已用上第五代:感谢认可
- 时间:2025-04-28
-
- 无光盘怎么重装win7系统
- 时间:2025-04-28
-
- 铭凡推出MS-A2迷你工作站:顶配锐龙9、双2.5G口
- 时间:2025-04-28
-
- 千元机新卷王!OPPO K12s全面评测:OPPO史上最大电池 五年不卡成为现实
- 时间:2025-04-28