清除系统垃圾文件(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  双击运行.
或是在命令行里直接运行

随机显示的10篇日志

评论最多的10篇日志

浏览最多的10篇日志