PDA

查看完整版本 : 将以下内容做成个.bat文件,就可以清除系统垃圾文件了。


dong_ong
2007-01-17, 17:17
echo off

del /f /s /q %systemdrive%\*.tmp
del /f /s /q /A:H %systemdrive%\*.tmp
del /f /s /q /A:H %systemdrive%\~$*.DOC
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 正在清除d :\垃圾文件,请稍等......
echo:
del /f /s /q %d:%\*.tmp
del /f /s /q /A:H %d:%\*.tmp
del /f /s /q /A:H %d:%\~$*.doc
del /f /s /q %d:%\*._mp
del /f /s /q %d:%\*.log
del /f /s /q %d:%\*.gid
del /f /s /q %d:%\*.chk
del /f /s /q %d:%\*.old
echo:
echo:
echo 正在清除e :\垃圾文件,请稍等......
echo:
del /f /s /q %e:%\*.tmp
del /f /s /q /A:H %e:%\*.tmp
del /f /s /q /A:H %e:%\~$*.doc
del /f /s /q %e:%\*._mp
del /f /s /q %e:%\*.log
del /f /s /q %e:%\*.gid
del /f /s /q %e:%\*.chk
del /f /s /q %e:%\*.old
echo:
echo:
echo 正在清除f :\垃圾文件,请稍等......
echo:
del /f /s /q %f:%\*.tmp
del /f /s /q /A:H %f:%\*.tmp
del /f /s /q /A:H %f:%\~$*.doc
del /f /s /q %f:%\*._mp
del /f /s /q %f:%\*.log
del /f /s /q %f:%\*.gid
del /f /s /q %f:%\*.chk
del /f /s /q %f:%\*.old
echo:

凯旋
2007-01-17, 20:23
??有一定的危险性。
建议还是专用软件吧

long0652
2007-01-23, 18:25
我系统上也有做了一个,还好吧,没什么危险性,只是清除了一些垃圾!

BANYATU
2007-03-19, 16:12
怎么做啊?请楼主指点一二

凯旋
2007-03-19, 16:56
这种东西,建议还是用超级兔子绿色版本来清理,绿色版本的没有广告,比较好。在网上搜索就可以下载了