创建win7系统盘清理bat实现一键清理垃圾的技巧
更新日期:2016-03-25 09:20:35
来源:互联网
电脑使用过程中,就会产生垃圾,当使用电脑时间久后,安装的软件越来越丰富时,系统垃圾也随着软件的增多而增多,让系统反应变迟钝的问题。针对此问题,现笔者给大家分享创建win7系统盘清理bat实现一键清理垃圾的技巧,让大家实现一键快速清理垃圾。

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”,保存类型选择“所有文件”。
通过以上操作后,当想对系统垃圾文件进行清除的时候,只需点击打开这个创建好的清除系统垃圾文件,等待系统垃圾清理完成按任意键完成操作。

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”,保存类型选择“所有文件”。
通过以上操作后,当想对系统垃圾文件进行清除的时候,只需点击打开这个创建好的清除系统垃圾文件,等待系统垃圾清理完成按任意键完成操作。
猜你喜欢
-
XP纯净版系统如何提升开机速度 14-10-20
-
如何在Win7 32位系统中QQ马赛克截图 14-10-28
-
关闭移动硬盘时win7系统总弹窗"该设备正在使用"的原因与处理方案 14-11-22
-
win7纯净版64位系统里面如何对日期计算进行操作 14-12-12
-
32位win7纯净版系统硬盘不停闪烁是什么原因 15-03-17
-
利用虚拟光驱安装win7深度技术纯净版系统的技巧 15-05-06
-
win7番茄花园桌面小工具如何才能不受侧边栏影响 15-06-23
-
高手支招教你如何修改win7番茄花园系统hosts文件 15-06-13
-
解密风林火山win7中内存的秘密 15-06-12
Win7系统安装教程
Win7 系统专题
