清除系统垃圾批处理(转载)

来源:互联网 发布:egd网络黄金骗局案例 编辑:程序博客网 时间:2024/05/17 22:50

        1. 在桌面上点鼠标右键,新建一个文本文件,把下面的字复制进去:
@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
        
2.点“另存为”,把文件名定为“清除系统垃圾.bat”完成,记住后缀名一定要是.bat!你的垃圾清除器就这样制作成功了!
        3. 双击它就能很快地清理垃圾文件,大约一分钟不到。

原创粉丝点击