当前位置:主页 > Win8系统教程 >

创建批处理文件实现一键清理技术员联盟系统垃圾

发布日期:2015-10-31    作者:Win8系统之家    来源:http://www.win8xiazai.com

       电脑使用过程中,在使用过程中不知不觉中安装一些软件来方便使用,当使用电脑时间久后,电脑中的软件的样式也是越来越丰富,系统垃圾也随着软件的增多而增多,系统反应变迟钝的问题,电脑变卡的问题。针对此问题,现笔者介绍创建批处理文件实现一键清理技术员联盟系统垃圾。
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%\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 
    3、将记事本“另存为”“清除系统垃圾.bat”,保存类型选择“所有文件”。
 
通过以上操作后,当想对系统垃圾文件进行清除的时候,只需点击打开这个创建好的清除系统垃圾文件,等待系统垃圾清理完成按任意键完成操作。

 
我要分享:

本站发布的ghost系统与电脑软件仅为个人学习测试使用,请在下载后24小时内删除,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件!

如侵犯到您的权益,请及时通知我们,我们会及时处理。

Copyright @ 2020 win8 win8系统 win8系统下载 版权所有 备案号:沪ICP备15039964号-3