Board logo

标题: 自制批处理命令,清除垃圾文件让系统变快! [打印本页]

作者: levin    时间: 2006-8-22 00:46     标题: 自制批处理命令,清除垃圾文件让系统变快!

如果你系统使用了一段时间,安装了一定的软件,升级过,长期浏览网页图片,请帮你系统“瘦身”,几好用的;这个程序是自动清理电脑里的垃圾而不会破坏系统 比很多软件都好!
不想把他做成.bat文件上传,请大家自己写,会觉得更安全,放心!
步骤:
1、请大家新建一个文本文件(即系新建一个记事本);
2、再把以下全部内容复制到文本里面:
@echo off
echo (喆服-陶喆歌迷网)www.davidcn.club
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%\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 清理系统完成!
echo. & pause
3、选择“另存为”,(保存类型)选项为“所有文件”,文件后缀改为“.bat”;
4、OK,制作完成,然后双击另存的文件,执行就可以了,很简单!

[ 本帖最后由 levin 于 2006-8-21 23:43 编辑 ]
作者: 飞机场的10:30    时间: 2006-8-22 00:47

楼上是高手啊!!!!!!!
作者: levin    时间: 2006-8-22 00:54

引用:
原帖由 飞机场的10:30 于 2006-8-21 12:47 PM 发表
楼上是高手啊!!!!!!!
飞机场的10:30,我见你抢了很多沙发了!呵呵!
作者: 飞机场的10:30    时间: 2006-8-22 01:00

很快你又会见不到我了~~我又要潜水一段时间...........点讲呢............就好似冬眠咁...................
作者: jojo    时间: 2006-8-22 03:18

哈哈~~同意飞机场的说法`~
Levin~~谢谢咯~~~
作者: 嚣张晓陶    时间: 2006-8-22 05:50

其他都看的懂

del /f /q %userprofile%\小甜饼s\*.*


这个是楼主设计的彩蛋吗?
作者: levin    时间: 2006-8-22 11:45

引用:
原帖由 嚣张晓陶 于 2006-8-21 05:50 PM 发表
其他都看的懂

del /f /q %userprofile%\小甜饼s\*.*


这个是楼主设计的彩蛋吗?
谢谢提醒,已经删除!
作者: 乱步    时间: 2006-9-30 18:24

好东西啊,很好用的,建议楼主发到互动区去,让大家一道分享啊~~~~~~~~~~
作者: coria    时间: 2006-11-19 22:02

厉害!!!!现在特别佩服电脑高手!!!!




欢迎光临 ::喆服-陶喆歌迷会:: (http://davidcn.club/) Powered by Discuz! 6.0.0