欢迎大家一起讨论测试, 希望多点认识热爱测试的朋友.让在测试的路上增添热闹.

如何清除系统垃圾(转载)

上一篇 / 下一篇  2009-11-19 09:46:25 / 个人分类:小常识

如何如果你的电脑的网速象蜗牛一样慢,原因是电脑系统磁盘的可用空间正在一天天在减少。要让电脑急速如飞,必须制作系统垃圾清除器并清除系统垃圾。

步骤是:
    1.打开记事本,把下面的文字复制进去,点另存为,路径选桌面,保存类型为所有文件,文件名为清除系统垃圾.bat”,你的垃圾清除器就这样制作成功了!
       
    2.
双击它就能很快地清理垃圾文件,大约一分钟不到。    

======就是下面的文字(这行不用复制)============================      

@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       

=====
到这里为止(这行不用复制)=================================     


TAG:

 

评分:0

我来说两句

Open Toolbar