Win10一键垃圾清理设置技巧:自动清除垃圾新玩法

admin 系统 2023-10-18 06:17 155

电脑的长时间的使用就会带来很多垃圾,堆积很多的垃圾占用内存使得电脑变得越来越卡,影响使用体验。所以有使用win10系统的用户就问小编有什么快速清理垃圾的方法,其实我们可以设置一键清理,所以下面小编就来为大家分享关于win10一键清理系统垃圾的方法。

具体方法如下:

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、出现“系统垃圾清理完成”即可。

win10一键清理系统垃圾的方法就为大家分享到这里啦,有需要的用户可以按照上面的方法来操作哦。

相关推荐
关闭

用微信“扫一扫”