深度技术win7系统快速删除系统垃圾文件BAT脚本的方法
更新日期:2015-07-07 10:51:37
来源:互联网
电脑越来越卡,电脑的反应越来越迟钝,系统垃圾也越来越多,怎么样才能够轻轻松松一键清理系统垃圾呢,下面就为大家介绍一个让你摆脱系统垃圾难题的方法,让你的电脑经常都有“瘦身”,不再担心系统垃圾的问题。
1.在桌面上找到开始按钮,点击所有程序--附件—记事本,创建个新的记事本如下图所示

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% 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
如图所示:

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

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

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

以上就是系统清理的制作,有兴趣的可以制作一个放桌面,方便随时给电脑系统清理垃圾。
-
windows7旗舰版32位系统IE浏览器下载完成后没有完成提示怎么办 15-04-13
-
纯净版雨林木风win7系统在Excel表格中怎么输入0开头的数据 15-05-06
-
深度技术纯净版win7中不能用wifi共享精灵的攻略 15-05-14
-
深度windows7纯净版打印机共享错误0x0000的解决方案 15-05-10
-
win7番茄家园系统怎么显示资源管理器里面的计算机选项 15-05-22
-
清爽夏天 让雨林木风win7系统也清凉的办法 15-06-10
-
用户必知在win7雨林木风系统中有十大不能关闭的服务 15-06-06
-
如何节约系统资源选择关闭雨林木风win7系统预览 15-05-30
-
新萝卜家园win7系统电脑如何禁用白板程序 15-07-27