清理系统垃圾命令代码怎么写(cmd命令清理系统垃圾的技巧)

大家在日常的办公中,几乎每天都要使用到电脑,电脑长时间的运行,就会导致系统产生很多的垃圾,使电脑的运行速度减慢。电脑速度减慢不仅影响你的工作效率,就连心情也会受到影响。今天,我就教大家利用DOC命令快速清理系统垃圾的方法。

首先,我们打开电脑开始→程序→附件→记事本,我们把记事本打开。把下面的这段的文字复制到记事本里面。

@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 %W indir%\temp

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

del /f /q %userprofile%\recent(* .*

del /f /s /q “%userprofile %\Loca| Settings\Temporary Internet Files\*.*”

del /f /s /q “%userprofile %\Local Settings\Temp\* .*”

del /f /s /q “%userprofile %\recent\* .*”

echo清除系统LJ完成!

echo. & pause

如图所示:

7f9384552f734d3db6c7299b3155bb66noop.image_

然后,再点击文件→另存为:文件名为清除系统LJ.bat,保存类型为所有文件。这样一个垃圾清除器就制作成功了。如图所示:

e53628bb0ee0472cb59fc76e33ebdfc9noop.image_

是不是很简单啊!大家运行一下看看效果如何吧!希望能帮到大家。如果大家喜欢就给点个赞吧!

本文内容来自网友供稿,文章观点仅代表作者本人,本站非盈利且无偿提供信息存储空间服务,不拥有所有权,如有文章有不实信息或侵犯了您的权益,请发送邮件至 cfseo1997@163.com 反馈核实,如需转载请注明出处:https://www.taobobolive.com/277990.html

(0)
上一篇 2023年6月30日 10:55:00
下一篇 2023年6月30日 10:56:54

相关推荐