|
[转贴]我做的安全清除你:C盘垃圾,让你多出近2G的空间!
很多朋友说夸张了,只能减少几十M而已,当然跟完美比我这个差的太远了,请会编程的高手多多指教啊 . 其实那是因为你的系统本来都比较干净,如果你系统使用了一段时间,安装了一定的软件,升级过,长期浏览网页图片,一定时间后你再清理试试看能不能达到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%\小甜饼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\*.*" echo 清除系统LJ完成! echo. & pause
你要是懒,直接复制-粘贴也行 不过还是用记事本打开自己写的好,看清楚这里最后将它保存,然后更改后缀名为:“清除系统LJ.bat”没有双引号 ok!在桌面上 你的LJ清除器就这样制作成功了!图标可以移动到任何一个文件夹下 以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!就还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢? |