不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           it is no use doing what you like, you have got to like what you do.

清理系统生成的垃圾

上一篇 / 下一篇  2007-01-13 15:15:00 / 个人分类:软件测试技术

51Testing软件测试网 ^-{ Jq-Z(hg9A[
每次使用计算机以后,系统都会产生大量的各种各样的系统垃圾,经常清理会让系统运行更快,把下面的代码复制到txt文件中,然后把文件后缀txt改成bat,用的时候直接运行就行51Testing软件测试网morezHz5^3Z'K_
代码如下:
@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 系统垃圾清除完毕!
echo. & pause

TAG: 软件测试技术

 

评分:0

我来说两句

Open Toolbar