该用户匿名发帖 发表于 2007-12-20 13:00 只看TA 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 清除系统LJ完成! echo. & pause 然后保存,然后在桌面上重命名此文件夹,改为"删除系统垃圾.bat"这样就OK啦,运行试试看. |
0 |
作者的其他主题 |
---|
绍兴柯桥天涯海阁洗浴中心 |
该用户匿名发帖 发表于 2007-12-20 13:44 只看TA 3楼 |
---|
就是的呢,你的这个批处理还不全呢,少2个功能知道不?我给你一个全的看看怎么样, 长期浏览网页图片,一定时间后你再清理试试看能不能达到1G以上,不夸张,只是针对用的人而言~ 不想把他做成.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 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 复制完保存,就是点记事本左上角的 文件 , 选保存 ,然后更名为“清除系统LJ.bat” 就OK了,以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!就还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢? |
0 |