纯净系统之家 - 专注分享最好用的电脑系统

当前位置: 纯净系统之家 >  系统教程 >  win10系统教程 >  win10一键清除垃圾

win10一键清除垃圾 Win10电脑清理垃圾的步骤详解

更新时间:2024-03-31 15:02:13作者:yang

  在使用Win10电脑过程中,随着时间的推移,系统垃圾文件会逐渐积累,影响电脑运行速度,为了让电脑始终保持良好的运行状态,我们需要定期清理垃圾文件。Win10提供了一键清除垃圾的功能,让清理过程变得更加简单快捷。接下来我们将详细解析Win10电脑清理垃圾的步骤,让您轻松掌握清理技巧,保持电脑的高效运行状态。

win10一键清除垃圾 Win10电脑清理垃圾的步骤详解

  具体步骤如下:

  1. 在桌面上空白处右键新建一个文本文档;

  2. 打开这个文本文档,将下列代码复制进去:

  @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

  3. 接着"保存",关闭之后将这个文本文档名字改为"一键清理",后缀名改为"bat";

  4. 然后我们右键选择"以管理员身份运行";

  5. 接着这个程序就会自动清理电脑中的垃圾文件了。

  以上就是win10一键清除垃圾的全部内容,如果遇到这种情况,你可以按照以上操作解决,非常简单快速,一步到位。

Copyright  ©  2009-2024 纯净系统之家 版权声明