win10清理垃圾指令代码是什么?Win10清理垃圾的运行命令代码汇总
时间:2023-05-25 22:33:17
这篇文章主要介绍了win10清理垃圾指令代码是什么?Win10清理垃圾的运行命令代码汇总的相关资料,需要的朋友可以参考下本文详细内容介绍
电脑使用时间长了就会堆积很多的垃圾占用内存使得电脑变得越来越卡,影响使用体验,今天就给大家带来win10清理垃圾指令代码,方便大家来进行清理。
win10清理垃圾指令代码:
方法一:
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 Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清理系统垃圾完成!
echo. & pause
4、粘贴至文本文档
5、点击“另存为”
6、更改文件名为 系统垃圾清理.bat
7、双击运行“系统垃圾清理.bat”。
8、此时可以按下任意键。
9、清理开始。
10、出现“系统垃圾清理完成”即可。
ps:当然,如果用户们清理完以后,垃圾还是很多的话,用户么可以选择重装系统的方式,让电脑变得纯净哦~
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
win10主题在哪个文件夹_win10主题在哪个文件夹的详细教程
![](https://img.aspxhome.com/file/2023/3/a293821_0s.png)
wps如何制作空心文字标题
![](https://img.aspxhome.com/file/2023/9/a170909_0s.jpg)
Win7系统QQ邮箱如何发送文件夹?
![](https://img.aspxhome.com/file/2023/27/a230932_0s.jpg)
如何设置无线路由器?
![](https://img.aspxhome.com/file/2023/3/a292664_0s.png)
C盘“压缩驱动器以节省磁盘空间”有什么用?
![](https://img.aspxhome.com/file/2023/6/a323113_0s.png)
金山快盘协作文件夹怎么使用 金山快盘协作文件夹使用教程
![](https://img.aspxhome.com/file/2023/8/a338140_0s.jpg)
Excel提取单元格中的汉字
![](https://img.aspxhome.com/file/2023/6/37616_0s.gif)
Word2003为自选图形添加或取消阴影
![](https://img.aspxhome.com/file/2023/9/25969_0s.jpg)
苹果手机wps怎么改字体大小-手机wps改字号的方法教程
![](https://img.aspxhome.com/file/2023/3/a295313_0s.jpg)
PowerPoint写真集制作4条妙招
115网盘里的资源怎么转到百度网盘?
![](https://img.aspxhome.com/file/2023/30/a267952_0s.jpg)
这几款工具让你轻松解除隐藏功能!
![](https://img.aspxhome.com/file/2023/9/a210369_0s.png)
WinXP如何继续享受微软持续安全更新服务到2019年
![](https://img.aspxhome.com/file/2023/29/a252266_0s.jpg)
win7系统启动boot.ini菜单和menu.lst配置文件的方法
![](https://img.aspxhome.com/file/2023/4/a308422_0s.jpg)
EXCEL数组公式怎么使用? EXCEL从入门到精通的技巧大全
![](https://img.aspxhome.com/file/2023/0/a141760_0s.jpg)
苹果Mac系统桌面如何显示CD等设备?
![](https://img.aspxhome.com/file/2023/4/a208804_0s.png)
如何在Word 2016中保存文档?
![](https://img.aspxhome.com/file/2023/3/23453_0s.jpg)
WPS 如何利word制作标签
![](https://img.aspxhome.com/file/2023/2/a186612_0s.jpg)
怎么使用Win11升级检查工具检测电脑是否能够升级Win11系统?
![](https://img.aspxhome.com/file/2023/7/a328457_0s.png)
从互联网下载的office文档,无法编辑,怎么办?
![](https://img.aspxhome.com/file/2023/2/16412_0s.jpg)