教大家一键清除系统垃圾文件.bat的方法

今天小编来给大家针对这个教大家一键清除系统垃圾文件.bat的方法的问题来进行一个介绍,毕竟当下也是有诸多的小伙伴对于教大家一键清除系统垃圾文件.bat的方法这个问题非常的重视的,下面大家可以看下具体的详情

一键清除系统垃圾.bat

复制经验的代码,放入记事本

源代码如下

@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

记事本重命名:清除系统LJ.bat(复制这个名称)

保存即可,双击运行。

正在清除垃圾

根据提示,点击窗口,点击键盘任意键结束,完成清理。

经过深度清理,恢复电脑的运行速度

轻松方便快捷,做成bat后放置在桌面。

新建记事本-打开放入代码-保存关闭

重命名记事本

完成-双击运行

(0)
上一篇 2022年3月27日
下一篇 2022年3月27日

相关推荐