win7系統一鍵垃圾檔案清理雨沐楓修正版.bat批處理一鍵清理
阿新 • • 發佈:2019-01-26
@echo off
color 0A
@echo.
@echo.
@echo.
@echo.
@echo. del /f /s /q %windir%\prefetch\
@echo.======================================================
pause
taskkill /f /im explorer.exe
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 %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
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\*.*
rd /s /q %windir%\SoftwareDistribution\Download & md %windir%\SoftwareDistribution\Download
del /f /q "%userprofile%\AppData\Roaming\Microsoft\Windows\Cookies\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Microsoft\Windows\Recent\*.*"
start explorer
color 0A
@echo.
@echo.
@echo.
@echo.
@echo. del /f /s /q %windir%\prefetch\
@echo.======================================================
pause
taskkill /f /im explorer.exe
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 %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
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\*.*
rd /s /q %windir%\SoftwareDistribution\Download & md %windir%\SoftwareDistribution\Download
del /f /q "%userprofile%\AppData\Roaming\Microsoft\Windows\Cookies\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Microsoft\Windows\Recent\*.*"
start explorer