admin管理员组文章数量:1606968
不知道大家有没有遇到过使用电脑得时候,发现电脑得运行速度越来越慢,会不会是电脑中毒了呢?除了中毒还会有什么原因导致得呢?今天系统总裁小编就给大家带来了win10系统怎么一键清理系统垃圾得操作步骤。
1、鼠标右键点击桌面空白处,选择“新建”→“文本文档”。
2、打开文本文档之后。
3、在文本文档中输入以下代码:
++++++++++++++++++++++++++++++++++++++++++++++
@echo off
color 0a
title windows10系统垃圾清理---
echo 清理垃圾文件,速度由电脑文件大小而定。在没看到结尾信息时
echo 请勿关闭本窗口。
echo 正在清除系统垃圾文件,请稍后......
echo 删除补丁备份目录
RD %windir%$hf_mig$ /Q /S
echo 把补丁卸载文件夹的名字保存成2950800.txt
dir %windir%$NtUninstall* /a:d /b >%windir%950800.txt
echo 从2950800.txt中读取文件夹列表并且删除文件夹
for /f %%i in (%windir%950800.txt) do rd %windir%%%i /s /q
echo 删除2950800.txt
del %windir%950800.txt /f /q
echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%*.log已经包含删除此类文件)
del %windir%KB*.log /f /q
echo 删除系统盘目录下临时文件
del /f /s /q %systemdrive%*.tmp
echo 删除系统盘目录下临时文件
del /f /s /q %systemdrive%*._mp
echo 删除系统盘目录下日志文件
del /f /s /q %systemdrive%*.log
echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详)
del /f /s /q %systemdrive%*.gid
echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件
del /f /s /q %systemdrive%*.chk
echo 删除系统目录下old文件
del /f /s /q %systemdrive%*.old
echo 删除回收站的无用文件
del /f /s /q %systemdrive% ecycled*.*
echo 删除系统目录下备份文件
del /f /s /q %windir%*.bak
echo 删除应用程序临时文件
del /f /s /q %windir%prefetch*.*
echo 删除系统维护等操作产生的临时文件
rd /s /q %windir% emp & md %windir% emp
echo 删除当前用户的COOKIE(IE)
del /f /q %userprofile%cookies*.*
echo 删除internet临时文件
del /f /s /q "%userprofile%local settings emporary internet files*.*"
echo 删除当前用户日常操作临时文件
del /f /s /q "%userprofile%local settings emp*.*"
echo 删除访问记录(开始菜单中的文档里面的东西)
del /f /s /q "%userprofile% ecent*.*"
echo
4、接着点击上方菜单栏“文件”→“另存为”。
5、将文件保存在任意位置,将文件名设置为“ Windows10一键垃圾清理.bat”。
6、双击该文件就会启动自动垃圾清理。大约要花几分钟。
这就是系统总裁小编带来得win10系统怎么一键清理系统垃圾得操作步骤。
更多win10教程敬请关注系统总裁官网。
官方微信:小歪来啦。
版权声明:本文标题:win10清理_win10系统怎么一键清理系统垃圾 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1728519893a1161903.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论