2020国产成人精品视频,性做久久久久久久久,亚洲国产成人久久综合一区,亚洲影院天堂中文av色

分享

系統(tǒng)垃圾文件清理器 代碼_輕風(fēng)語夜雨

 春夏秋冬jun 2009-12-03
僅供參考
------------------------------------
@echo off
::ZghSgi, 修正于2007-03-06
color 2f
Title 系統(tǒng)垃圾文件清理器 By Phexon And ZghSgi 2007
echo.
echo       *****      系統(tǒng)垃圾文件清理器      *****
echo              制作:Phexon      2006
echo               Fix:ZghSgi 2007
echo.
echo      本程序特點:
echo          鑒于很多人把IE緩存等文件夾轉(zhuǎn)移到非系統(tǒng)盤,
echo      所以,本程序清理垃圾文件時,首先進(jìn)行判斷系統(tǒng)
echo      的設(shè)置。
echo.
echo      優(yōu)點:清理位置更加準(zhǔn)確,策略更加科學(xué)。
echo.
echo      開始執(zhí)行清理……
echo.
echo 正在檢查cookies、歷史紀(jì)錄等目錄位置(當(dāng)前用戶)……
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cache>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cookies>>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v History>>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v NetHood>>%temp%\cleantmp.txt
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Recent>>%temp%\cleantmp.txt
echo 正在清理Cookies、IE緩存、歷史紀(jì)錄等(當(dāng)前用戶)……
for /f "tokens=3*" %%a in (%temp%\cleantmp.txt) do (
      for /d %%i in ("%%a %%b\*.*") do rd /s /q "%%i">Nul 2>Nul
      del /a /f /s /q "%%a %%b\*.*">Nul 2>Nul
)
::跟上面幾項未必是重復(fù)的(!),也是對當(dāng)前用戶目錄
echo 正在清理臨時文件 (系統(tǒng)目錄)……
del /a /f /s /q "%userprofile%\Locals~1\Tempor~1\*.*" >Nul 2>Nul
del /a /f /s /q "%userprofile%\Locals~1\Temp\*.*" >Nul 2>Nul
del /a /f /s /q "%userprofile%\cookies\*.*" >Nul 2>Nul
del /a /f /s /q "%userprofile%\recent\*.*" >Nul 2>Nul
del /a /f /s /q "%Temp%\*.*" >Nul 2>Nul
del /a /f /s /q "%Tmp%\*.*" >Nul 2>Nul
del /a /f /s /q "%HomePath%\..\IconCache.db" >Nul 2>Nul
echo 正在清理系統(tǒng)目錄中的垃圾文件 (稍候,需要點時間)……
del /a /f /s /q "%SystemRoot%\*._mp">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\*.bak">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\*.log">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\*.dmp">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\*.gid">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\*.old">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\*.query">Nul 2>Nul
del /a /f /q "%SystemRoot%\*.tmp">Nul 2>Nul
rd /s /q "%SystemRoot%\Downloaded Program Files" >Nul 2>Nul
rd /s /q "%SystemRoot%\Offline Web Pages" >Nul 2>Nul
rd /s /q "%systemroot%\Connection Wizard" >Nul 2>Nul
rd /s /q "%SystemRoot%\SoftwareDistribution\Download" >Nul 2>Nul
rd /s /q "%SystemRoot%\Assembly" >Nul 2>Nul
rd /s /q "%SystemRoot%\Help" >Nul 2>Nul
rd /s /q "%SystemRoot%\ReinstallBackups" >Nul 2>Nul
del /a /s /q "%SystemRoot%\inf\*.pnf" >Nul 2>Nul
del /a /f /s /q "%SystemRoot%\inf\InfCache.1" >Nul 2>Nul
dir %SystemRoot%\inf\*.* /ad/b >%SystemRoot%\vTmp.txt
for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\inf\%%a" >Nul 2>Nul
del /a /f /s /q "%SystemRoot%\driver?\*.pnf" >Nul 2>Nul
del /a /f /s /q "%SystemRoot%\driver?\InfCache.1" >Nul 2>Nul
del /a /f /s /q "%SystemDrive%\driver?\*.pnf" >Nul 2>Nul
del /a /f /s /q "%SystemDrive%\driver?\InfCache.1" >Nul 2>Nul
rd /s /q "%SystemRoot%\temp" & md "%SystemRoot%\temp" >Nul 2>Nul
del /a /f /s /q "%SystemRoot%\Prefetch\*.*">Nul 2>Nul
del /a /f /s /q "%SystemRoot%\minidump\*.*">Nul 2>Nul
echo 正在清除無用的磁盤檢錯文件 (系統(tǒng)分區(qū))……
del /a /f /q "%SystemDrive%\*.chk" >Nul 2>Nul
dir %SystemDrive%\found.??? /ad/b >%SystemRoot%\vTmp.txt
for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemDrive%\%%a" >Nul 2>Nul
echo 正在清理系統(tǒng)升級補(bǔ)丁留下來的反安裝目錄 (已修正能正確清除)……
dir %SystemRoot%\$*$ /ad/b >%SystemRoot%\vTmp.txt
for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\%%a" >Nul 2>Nul
echo 正在清除常見的軟件垃圾項目 (按默認(rèn)目錄)……
rd /s /q "%ProgramFiles%\InstallShield Installation Information" >Nul 2>Nul
Ren "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" realsched.ex_ >Nul 2>Nul
Del "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" >Nul 2>Nul
Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v TkBellExe /f >Nul 2>Nul
rd /s /q "%ProgramFiles%\Tencent\QQGame\Download" >Nul 2>Nul
taskkill /f /im "TIMPlatform.exe" /t >Nul 2>Nul
del /a /f /s /q "%ProgramFiles%\Tencent\QQ\TIMPlatform.exe" >Nul 2>Nul
del /a /f /s /q "%ProgramFiles%\PKaspersky Lab\*.tmp" >Nul 2>Nul
echo.
echo       全部清理完畢,任意鍵退出 (注: 若提示文件沒找到是正常的)……
pause>nul
del %SystemRoot%\vTmp.txt
---------------------------------------------------------
不清除Cookies是不是把下面這項刪掉就可以了?
reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cookies>>%temp%\cleantmp.txt


暈。下面還有一個del /a /f /s /q "%userprofile%\cookies\*.*" >Nul 2>Nul
剛才沒看到下面還有一個。上面刪了下面也得刪。
不是可以判斷位置么,有上面那個還要下面這個做什么?

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多