网上有清除系统垃圾的小程序,能用吗对电脑有没有坏处

网上有清除系统垃圾的小程序,能用吗对电脑有没有坏处,第1张

@echo

off

echo

开始清除啦!!!

del

/f

/s

/q

%systemdrive%\tmp

del

/f

/s

/q

%systemdrive%\_mp

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

%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\"

del

/f

/s

/q

"%userprofile%\Application

Data\Microsoft\Office\Recent\"

del

/f

/s

/q

"%userprofile%\Local

Settings\History\"

echo

完成清除

echo

&

pause

这东西也算个小程序,有没有用我也不知道,我机子是删出了好些垃圾,也没损害系统,不过机子也没快多少。

还是用优化大师之类的安全些。起码心理安心些。

可以使用电脑管家进行清理,也可以使用下面这个小程序:用记事本编辑并保存为“清理系统垃圾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

批处理删除系统垃圾本身就是一个垃圾文件,但是对电脑没有什么影响。 *** 作方法如下:

1、首先先创建一个txt记事本。

2、鼠标双击打开之后,吧下图代码输入进去。

3、点击保存,右键重命名,这时会d出对话框是否更改,点击确定。

4、这样就变成了bat文件了。

5、最后双击打开运行它,就完成了。

电脑升级到了Windows10,电脑C盘里面的可用空间就会变得比较小,这是安装Windows10占用了不少系统盘的空间,这个时候要怎样清理系统文件,win10电脑清理bat文件是一款专门针对Win10系统进行优化的bat小程序。下面来看看win10电脑清理bat文件的使用。

新买的电脑一开始用得很舒心,打开软件嗖嗖的,非常爽。可随着使用时间和次数的增加,Windows电脑的运行速度会有明显的下降,开关机速度慢,打开软件会等待一两秒,那么要如何一键清理系统垃圾文件?下面,小编就来跟大家介绍win10一键清理系统垃圾文件的使用方法。

win10一键清理系统垃圾文件

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

win10图-1

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

@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 清除系统垃圾完成!

echo & pause

一键清理图-2

复制完成后,点击文件,另存为,d出另存为窗口后,

一键清理图-3

保存类型改为所有文件,保存路径自定义,文件名自定义(注:文件名尾缀需要加上“bat”)

win10图-4

最后生成一个bat批处理文件,我们双击打开,系统便会自动清理垃圾文件了。

垃圾文件图-5

以上就是win10一键清理系统垃圾bat的 *** 作了。

@echo off echo echo 欢迎使用由冰剑修改制作的清除系统垃圾文件批处理小程序 echo 清理垃圾文件,速度由电脑文件大小而定。在没看到结尾信息时 echo 请勿关闭本窗口。 感谢灵感小菜提供源程序 echo echo 正在清除系统垃圾文件,请稍后 echo 删除补丁备份目录 RD %windir%\$hf_mig$ /Q /S echo 把补丁卸载文件夹的名字保存成2950800txt dir %windir%\$NtUninstall /a:d /b >%windir%\2950800txt echo 从2950800txt中读取文件夹列表并且删除文件夹 for /f %%i in (%windir%\2950800txt) do rd %windir%\%%i /s /q echo 删除2950800txt del %windir%\2950800txt /f /q echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%\log已经包含删除此类文件) del %windir%\KBlog /f /q echo 删除系统盘目录下临时文件 del /f /s /q %systemdrive%\tmp echo 删除系统盘目录下临时文件 del /f /s /q %systemdrive%\_mp echo 删除系统盘目录下日志文件 del /f /s /q %systemdrive%\log echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详) del /f /s /q %systemdrive%\gid echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件 del /f /s /q %systemdrive%\chk echo 删除系统目录下old文件 del /f /s /q %systemdrive%\old echo 删除回收站的无用文件 del /f /s /q %systemdrive%\recycled\ echo 删除系统目录下备份文件 del /f /s /q %windir%\bak echo 删除应用程序临时文件 del /f /s /q %windir%\prefetch\ echo 删除系统维护等 *** 作产生的临时文件 rd /s /q %windir%\temp & md %windir%\temp echo 删除当前用户的COOKIE(IE) del /f /q %userprofile%\cookies\ echo 删除internet临时文件 del /f /s /q "%userprofile%\local settings\temporary internet files\" echo 删除当前用户日常 *** 作临时文件 del /f /s /q "%userprofile%\local settings\temp\" echo 删除访问记录(开始菜单中的文档里面的东西) del /f /s /q "%userprofile%\recent\" echo echo 清除系统垃圾文件批处理系统,执行完毕。谢谢使用。 echo 转载请保留本信息,谢谢 echo echo & pause 使用方法:建一个记事本,把以上代码输入进去(最新版)完成以后把名字改为 清除系统垃圾最新版bat 就成功了

。。。那个程序也不是智能的,你每次运行都会去删除的,不管有没有垃圾文件

还有,垃圾是不可避免的,就像人类的新陈代谢一样,只要电脑运行垃圾就会越来越多,

没有办法不产生,也没有办法不保存,

只有你勤快一点,每隔一段时间,例如一周,或每三天清理一下硬盘,

碎片整理+磁盘查错+磁盘清理,不需要用那些什么什么软件的,尤其是那个bat,根本没用,有时候还有你一向不到的副作用,就像是优化大师一样,开始用着还可以,结果呢?都是一样的

以上就是关于网上有清除系统垃圾的小程序,能用吗对电脑有没有坏处全部的内容,包括:网上有清除系统垃圾的小程序,能用吗对电脑有没有坏处、怎么手动清理电脑垃圾、"清理系统垃圾.bat"是好是坏等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zz/9760970.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-01
下一篇2023-05-01

发表评论

登录后才能评论

评论列表(0条)

    保存