瑞星卡卡安全论坛技术交流区系统软件 我经常用它来删除系统垃圾!

1   1  /  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 清除系统垃圾完成!
echo. & pause

记事本保存格式为:.bat
类型:所有



不知道这个能不能经常用?
我也是在网上看到的!~

用户系统信息:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CIBA; .NET CLR 2.0.50727)
分享到:
gototop
 

回复:我经常用它来删除系统垃圾!

这里面的*.log是什么!~听朋友说这个是不能随便删除的!~
gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT