隨著對(duì)win7的認(rèn)識(shí)的深入,本版本的垃圾清理是較全面和安全。
系統(tǒng)的運(yùn)行流暢與否,主要與您的電腦的硬件相關(guān),其次是系統(tǒng)完整性和病毒,之后才是我們所說(shuō)的垃圾。
給系統(tǒng)盤(pán)分配大一些的空間是有好處的,況且,現(xiàn)在的硬盤(pán)越來(lái)越大,我們不應(yīng)該吝嗇,更沒(méi)有必要清理一些關(guān)乎系統(tǒng)性能的所謂的垃圾。
在此,建議使用360安全衛(wèi)士的“垃圾清理”和“痕跡清理”,更專業(yè),更全面,更安全。唔不是360的水軍,是一位普通老百姓,一直使用360安全衛(wèi)士,主要是免費(fèi),功能較全。
本版去除了以下這幾條無(wú)用的命令:
RD %windir%\$hf_mig$ /Q /S
dir %windir%\$NtUninstall/a:d /b >%windir%\Patches.txt
for /f %%i in (%windir%\Patches.txt) do rd %windir%\%%i /s /q
del %windir%\Patches.txt /f /q
2010.06.05 更新
@echo off
color 0b
echo ==================================================================
echo.
echo 您已啟動(dòng) WIN 7 系統(tǒng)垃圾清理 ,這里運(yùn)行的命令都很安全!
echo.
echo ==================================================================
echo.
echo 在程序沒(méi)有結(jié)束的信息時(shí),請(qǐng)勿關(guān)閉本窗口!
echo.
echo ==================================================================
echo.
echo 正在清除系統(tǒng)垃圾文件,請(qǐng)稍后......
echo.
echo ==================================================================
echo.
echo **********************************
echo.
echo 第 一
echo 刪除臨時(shí)文件
echo.
echo **********************************
echo.
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
rd /s /q %windir%\temp & md %windir%\temp
del /f /s /q "%userprofile%\local settings\temp\*.*"
del /f /s /q %windir%\prefetch\*.*
echo.
echo **********************************
echo.
echo 第 二
echo 刪除日志文件
echo 刪除幫助索引文件
echo 刪除磁盤(pán)掃描留下的臨時(shí)文件
echo 刪除備份文件
echo 刪除舊備份文件
echo.
echo **********************************
echo.
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %windir%\*.bak
del /f /s /q %systemdrive%\*.old
echo.
echo **********************************
echo.
echo 第 三
echo 清空回收站
echo.
echo **********************************
echo.
del /f /s /q c:\$recycle.bin\*.*
del /f /s /q d:\$recycle.bin\*.*
del /f /s /q e:\$recycle.bin\*.*
del /f /s /q f:\$recycle.bin\*.*
del /f /s /q g:\$recycle.bin\*.*
echo.
echo **********************************
echo.
echo 第 四
echo 刪除自動(dòng)更新后留下的軟件
echo.
echo **********************************
echo.
rd /s /q %windir%\SoftwareDistribution\Download & md %windir%\SoftwareDistribution\Download
echo.
echo **********************************
echo.
echo 第 五
echo 刪除上網(wǎng)產(chǎn)生的Cookies
echo.
echo **********************************
echo.
del /f /q “%userprofile%\AppData\Roaming\Microsoft\Windows\Cookies\*.*”
echo.
echo **********************************
echo.
echo 第 六
echo 刪除上網(wǎng)產(chǎn)生的臨時(shí)文件
echo.
echo **********************************
echo.
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
echo.
echo **********************************
echo.
echo 第 七
echo 運(yùn)行私隱保護(hù)
echo.
echo **********************************
echo.
del /f /s /q "%userprofile%\AppData\Roaming\Microsoft\Windows\Recent\*.*"
echo.
echo ==================================================================
echo.
echo 已清理完成!
echo.
echo.
echo ==================================================================
echo.
echo 再見(jiàn)!
echo.
echo ——因您在,我很幸福 編輯
echo.
echo ==================================================================
echo.
echo. & pause
(完)