-
2009-02-10
系统垃圾清理小程序 - [信息安全]
将下面代码保存到记事本中,另存成清除垃圾.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随机文章:
如何有效实施信息安全管理体系 2009-06-23常用下载链接(不断更新) 2009-01-07使用U盘安装操作系统 2009-12-04推荐:超级巡警个人电脑安全防护系统 2009-02-09推荐阅读:《IT咨询指南》 2008-10-14

评论