无为清净楼资源网 Design By www.qnjia.com

     电脑越来越卡,电脑的反应越来越迟钝,系统垃圾也越来越多,怎么样才能够轻轻松松一键清理系统垃圾呢,下面就为大家介绍一个让你摆脱系统垃圾难题的方法,让你的电脑经常都有“瘦身”,不再担心系统垃圾的问题。

1.在桌面上找到开始按钮,点击所有程序--附件—记事本,创建个新的记事本如下图所示

Windows7快速删除系统垃圾文件BAT脚本分享

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 清除系统垃圾完成!按任意键继续……
echo. & pause

如图所示:

Windows7快速删除系统垃圾文件BAT脚本分享

3.点“另存为”,把文件名定为“ 清除系统垃圾.bat ”就完成,如下图所示

Windows7快速删除系统垃圾文件BAT脚本分享

4.点击打开清除系统垃圾,完了按任意键完成,如下图所示

Windows7快速删除系统垃圾文件BAT脚本分享

5.系统垃圾清理到此就制作完毕,为了方便可以放在桌面,以便随时给电脑“瘦身”如下图所示

Windows7快速删除系统垃圾文件BAT脚本分享

    以上就是系统清理的制作,有兴趣的可以制作一个放桌面,方便随时给电脑系统清理垃圾。

标签:
Windows7,删除垃圾文件,BAT脚本

无为清净楼资源网 Design By www.qnjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无为清净楼资源网 Design By www.qnjia.com