清理系统垃圾的批处理,方便快速清理系统垃圾文件.双击运行即可
复制代码代码如下:
@echo off
color f0
echo.
echo 正在安全地自动清除垃圾文件……
del /f /q %systemdrive%*.tmp>nul 2>nul
del /f /q %systemdrive%*._mp>nul 2>nul
del /f /q %systemdrive%*.log>nul 2>nul
del /f /q %systemdrive%*.gid>nul 2>nul
del /f /q %systemdrive%*.chk>nul 2>nul
del /f /q %systemdrive%*.old>nul 2>nul
del /f /q %windir%*.bak>nul 2>nul
del /f /q %windir%*.tmp>nul 2>nul
del /f /q %windir%prefetch*.*>nul 2>nul
del /f /s /q %systemdrive%ecycled*.*
del /f /q "%ALLUSERSPROFILE%DocumentsDrWatson*.*">nul 2>nul
del /f /q "%USERPROFILE%Cookies*.txt">nul 2>nul
del /f /q /s "%TEMP%*.*">nul 2>nul
del /f /q /s "%Systemroot%Prefetch*.*">nul 2>nul
del /f /q "%USERPROFILE%Recent*.*">nul 2>nul
del /f /q "%USERPROFILE%Application DataMicrosoftOfficeRecent*.lnk">nul 2>nul
del /f /q /s "%USERPROFILE%Local SettingsTemp*.*">nul 2>nul
rd /s /q %windir%emp & md %windir%emp>nul 2>nul
if not exist %SystemRoot%MinidumpNUL del /f /q /s %SystemRoot%Minidump*.*>nul 2>nul
del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*">nul 2>nul
警告:运行BAT源码是一种危险的动作,如果你不熟悉,请不要尝试!