快速清理系统垃圾
用了一段时间发觉系统慢了下来,原来是电脑中不知不觉生成的垃圾占用了不少空间,发现如下方法比采用开始-程序-附件-系统工具-磁盘清理这个步骤还简单快捷,现与大家共享。用记事本来制作。拷贝如下内容,好了后保存为文件名:清除系统垃圾,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 清除系统LJ完成!
echo. & pause
推荐到鲜果: 查阅更多相关主题的帖子: 知识库


评论
发布者 萧秋水
2007-9-17 8:28:56
发布者 hung
2008-1-23 17:30:26
发布者 jane520
2008-2-14 15:06:52