Win10电脑怎么快速的清理电脑无用的垃圾?
时间:2023-12-14 08:06:52
当我们在win10电脑中安装一些软件的时候,经常会莫名其妙也自动安装上一些流氓软件,将其卸载之后重新启动电脑又安装上了,遇到这样的流氓软件该怎么清理呢?下面小编和大家分享一个win10系统清理垃圾的方法。
1、制作一个【清除系统垃圾.bat】文件,清除系统垃圾,将下面的内容复制到记事本中:
@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
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_0.png)
2、点击记事本左上角的【文件】,在下拉菜单中点击【另存为】。
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_1.png)
3、在打开的另存为窗口中,先点击窗口左侧的【桌面】,在文件名(N)栏中输入:清除系统垃圾.bat,再点击:保存。
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_2.png)
4、当我们需要清除系统垃圾时,左键双击桌面上的【清除系统垃圾】图标。
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_3.png)
5、此时打开一个C:\Windows\system32\cma.exe窗口,显示:
请按任意键继续。。.
我们按下键盘上的“空格键”。
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_4.png)
6、正在清除系统垃圾,请稍等。
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_5.png)
7、清理系统垃圾完成,请按任意键继续。。.,我们再按下键盘上的“空格键”,退出C:\Windows\system32\cma.exe窗口。
![Win10电脑怎么快速的清理电脑无用的垃圾?](https://img.aspxhome.com/file/2023/1/51731_6.png)
以上便是清除win10系统垃圾的一个方法步骤了,大家感兴趣的话可以尝试一下这个方法。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word中设置单窗口和多窗口的操作方法
Win10系统解决Windows update自动禁用的方法是什么?
![](https://img.aspxhome.com/file/2023/4/a302902_0s.jpg)
XP系统应用程序无法正常启动0xc000007b怎么解决?
![](https://img.aspxhome.com/file/2023/3/a294092_0s.png)
Ps复制图层的快捷键是什么?Ps复制图层快捷键使用方法
![](https://img.aspxhome.com/file/2023/7/a327167_0s.jpg)
Win11电脑查看当前WiFi密码的方法
![](https://img.aspxhome.com/file/2023/27/a235632_0s.jpg)
excel数字显示不完整怎么解决
巧用命令一次关闭Vista下多个IE8进程
![](https://img.aspxhome.com/file/2023/29/a259610_0s.png)
装机吧U盘重装win7系统详细教程
![](https://img.aspxhome.com/file/2023/3/a292495_0s.png)
Win10如何关闭电脑内核隔离功能?Win10关闭电脑内核隔离方法
![](https://img.aspxhome.com/file/2023/30/a270071_0s.png)
word文档中的域你知道怎么用吗?
![](https://img.aspxhome.com/file/2023/4/30384_0s.jpg)
手把手教你制作逼真的ppt粉笔字效果 PPT特效字教程
Mac怎么删除用户?苹果Mac删除用户方法
![](https://img.aspxhome.com/file/2023/2/a214662_0s.jpg)
Word如何制作田字格
![](https://img.aspxhome.com/file/2023/2/31782_0s.png)
Win11如何设置系统还原点?Win11设置系统还原点的方法
![](https://img.aspxhome.com/file/2023/27/a236884_0s.png)
Epic游戏一直云同步打不开怎么办?Epic游戏一直在云同步打不开解决方法
![](https://img.aspxhome.com/file/2023/7/a326926_0s.jpg)
realtek高清晰音频管理器老是弹出来怎么解决?
![](https://img.aspxhome.com/file/2023/8/47778_0s.jpg)
Win8系统如何删除蓝牙设备?
![](https://img.aspxhome.com/file/2023/4/a308180_0s.jpg)
win10输入法切换不了?win10输入法不见了解决方法
![](https://img.aspxhome.com/file/2023/4/a308597_0s.jpg)
Mac新手进阶必看:一个触控板如何掌控MacBook?
![](https://img.aspxhome.com/file/2023/7/a204387_0s.jpeg)
如何在旅行记里关注别人 旅行记里关注别人的教程
![](https://img.aspxhome.com/file/2023/8/a335952_0s.png)