win10系统清理垃圾的运行代码

时间:2025-02-13 09:50:10

作者:admin

来源:系统之家

  今天咱们网站的小编要教大家一个方法,就是用 Win10 清理垃圾的指令代码来清理电脑垃圾哦!大家都来跟我一起学学 Win10 系统清理垃圾的运行代码呗!

  1、鼠标右键点击桌面空白处,接着选择“新建”,选择“文本文档”。

  2、接着打开新建的文本文档。

win10系统清理垃圾的运行代码

  win10系统清理垃圾的运行代码图解-1

  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% ecycled*.*

  del /f /s /q %windir%*.bak

  del /f /s /q %windir%prefetch*.*

  rd /s /q %windir% emp & md %windir% emp

  del /f /q %userprofile%cookies*.*

  del /f /q %userprofile% ecent*.*

  del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"

  del /f /s /q "%userprofile%Local SettingsTemp*.*"

  del /f /s /q "%userprofile% ecent*.*"

  echo 清理系统垃圾完成!

  echo. & pause

  4、将代码在粘粘到文本文档。

  5、接着点击页面左上角的“另存为”。

  6、将文件名更改为 系统垃圾清理.bat。

win10系统清理垃圾的运行代码

  win10系统清理垃圾的运行代码图解-2

  7、双击打开运行“系统垃圾清理.bat”。

  8、接着敲击任意键。

  9、系统就开始清理。

win10系统清理垃圾的运行代码

  win10系统清理垃圾的运行代码图解-3

  10、等待文档中出现“系统垃圾清理完成”就可以了。

  这就是win10系统清理垃圾的运行代码,不知道你们有没有学会呢?可以照着本站小编的教程操作哦。

大家都在看

提取码
XGZS
关闭 前往下载