系统用一段时间以后,就会产生许多垃圾文件,这些文件仅占用皈撮踢赓磁盘空间,有些文件的存在还有可能会影响系统的佣甲昭宠性能。因此及时有效的删除这类文件,对于提高系统的性能有很大的作用。下面小编将给大家介绍一种自己编写的垃圾清理程序,这种程序具有安全、方便和实用等特点。
下载:
1、http://yun.baidu.com/s/1o6nyBgA打开链接下载
自己编
1、在桌面上新建文本文档。
2、在里面复制上:@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 s\*.* 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\*.*" sfc /purgecache '清理系统盘无用文件 defrag %systemdrive% -b '优化预读信息 echo 清除系统LJ完成! echo. & pause
3、把文本文档保存,重命名,把扩展名改为bat。
4、打开即可使用(针对xp,Vista或以上的系统右键,用管理员方式运行)