Win7电脑清理垃圾的运行命令代码是什么?
时间:2023-02-02 19:38:19
如何清理Win7计算机上的垃圾?您可以通过使用第三方工具手动清理它,或使用运行命令代码清理win7中的垃圾来解决此问题。那么执行命令代码是什么? win7电脑快速删除win7系统垃圾,可以通过运行命令清除文件垃圾。接下来小编我将介绍win7计算机可以清除垃圾的可执行命令的代码。
操作步骤:
1、首先使用快捷键“win+R”打开运行窗口;
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_0.png)
2、输入命令“cleanmgr”,回车确定打开清理窗口;
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_1.png)
3、选择想要扫描清理的磁盘,单击“确定”即可运行;
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_2.png)
4、等待扫描完成;
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_3.png)
5、弹出窗口中选择你想要清理的文件,单击下方“清理系统文件”即可清理完成;
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_4.png)
6、右键桌面鼠标滑动到“新建”,单击选择“文本文档”;
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_5.png)
7、打开记事本文本文档,粘贴以下命令,单击左上角“文件”,选择另存为,并修改名字为“一键清理.bat”:
@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 清除系统LJ完成!
echo. & pause
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_6.png)
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_7.png)
8、双击运行win7桌面上的“一键清理.bat”,等待其清理垃圾文件完成即可。
![Win7电脑清理垃圾的运行命令代码是什么?](https://img.aspxhome.com/file/2023/26/a228810_8.png)
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Excel如何实现间隔(行)列的引用
如何把wps文件转换成word?wps格式转换成word的方法技巧
![](https://img.aspxhome.com/file/2023/4/a181824_0s.jpg)
macOS 10.15.6 补充更新发布 重要的错误修复和改进
![](https://img.aspxhome.com/file/2023/2/a214542_0s.jpg)
wps表格里如何在每一页上打上表头
![](https://img.aspxhome.com/file/2023/7/a163687_0s.jpg)
Mac OS系统怎样使用AE做出粒子运动特效?
![](https://img.aspxhome.com/file/2023/6/a214176_0s.jpeg)
Win10 1909怎么取消开机密码?开机密码取消方法简述
![](https://img.aspxhome.com/file/2023/26/a224388_0s.jpg)
Xmind思维导图教程八:如何在Xmind中另保存文件?
![](https://img.aspxhome.com/file/2023/0/a202330_0s.jpeg)
WPS word如何将英文下的波浪线去除
![](https://img.aspxhome.com/file/2023/9/a185249_0s.png)
macOS 12 Monterey发布:支持跨屏操作,加入捷径操作
![](https://img.aspxhome.com/file/2023/2/a206342_0s.jpeg)
Excel SERIESSUM 函数 使用实例教程
![](https://img.aspxhome.com/file/2023/3/a163063_0s.png)
在Mac中如何启用语音输入功能?
![](https://img.aspxhome.com/file/2023/7/a204117_0s.png)
Win10系统分辨率调错黑屏了怎么办?Win10系统分辨率调错黑屏解决方法
![](https://img.aspxhome.com/file/2023/26/a219963_0s.jpg)
Win10笔记本外接显示器很模糊怎么办
![](https://img.aspxhome.com/file/2023/25/a217996_0s.jpg)
Excel2010数据图表的创建方法详细操作分享
![](https://img.aspxhome.com/file/2023/3/16043_0s.png)
Win10如何录制带声音的屏幕视频?Win10录制带声音的屏幕视频方法
![](https://img.aspxhome.com/file/2023/3/52693_0s.jpg)
Excel表格的10个基本操作
iPhone5连接iPad iOS版WPS Office 共享播放初体验
![](https://img.aspxhome.com/file/2023/9/a164829_0s.png)
轻松有效的编辑视频、在线下载,它可以同时解决你的问题!
![](https://img.aspxhome.com/file/2023/9/a209869_0s.jpeg)
如何在Word 2016中转换兼容模式文档?
如何在Word 2007选项卡对话框中设置选项卡?
![](https://img.aspxhome.com/file/2023/8/23178_0s.jpg)