百科网

首页 > 科技数码

科技数码

小编分享Win10电脑垃圾文件如何清理(win10 垃圾文件)

科技数码佚名2023-02-07

Win10系统是现在大家都在使用的电脑操作系统,我们都知道随着使用时间和次数的增加,Windows电脑的运行速度会有明显的下降,开关机速度慢,打开软件会等待一两秒,这有可能是你的电脑垃圾文件太多了,那么要如何一键清理系统垃圾文件?下面小编就来跟大家介绍清理win10电脑垃圾文件的方法技巧。

Win10电脑垃圾文件清理教程一:

在电脑桌面空白处新建一个文本文档

新建完成后,将下文复制粘贴到文本文档里。

@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 SettingsTemporary Internet Files*.*”

del /f /s /q “%userprofile%Local SettingsTemp*.*”