清除系统垃圾文件(3 位领导批示)

系统运行一段时间就会产生很多无用的临时文件.

一个批处理.快速清除系统垃圾文件


@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

复制上面代码.保存在文本文档中.改扩展名为.bat  双击运行.
或是在命令行里直接运行

分享到新浪微博 推荐到豆瓣 分享到 Google Reader 加入Google书签 嘀咕一下 分享到饭否 分享到做啥 分享到叽歪 分享到鲜果 加入QQ书签 加入百度搜藏 加入雅虎书签 分享到垦一垦

  1. 3
    银子

    @maudo 已修改

  2. 2
    maudo

    银子,麻烦把我的博客地址换一下!!
    把原来的maudo.net换成http://iw3c.com

  3. 1
    WEBLOG

    大哥,你不会现在才发现这个“稀奇”的BAT吧?

请领导指示

验证码 (必须)

Additional comments powered by BackType

随机显示的10篇日志

评论最多的10篇日志

浏览最多的10篇日志