弄了一个清除系统盘垃圾的小程序

Posted on 2006-06-26 23:45 Computerboy 阅读(1974) 评论(2)  编辑  收藏 所属分类: 随便侃侃
这个程序在网上也能找到。呵呵,一天到晚没事。就弄了弄系统!!!

@echo off
echo www.stonecn.org
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 清除系统垃圾完成!
echo. & pause


把以上的程序用记事本另存为  .bat文件就可以了!!!

Feedback

# re: 弄了一个清除系统盘垃圾的小程序  回复  更多评论   

2006-09-04 18:03 by 刘玲
Wonderful!

# re: 弄了一个清除系统盘垃圾的小程序  回复  更多评论   

2008-01-06 09:14 by songgang
清除垃圾程序

只有注册用户登录后才能发表评论。


网站导航:
 

posts - 40, comments - 39, trackbacks - 0, articles - 0

Copyright © Computerboy