@echo off
echo 正在清除系統垃圾文件,請稍等......
del /f /s /q %systemdrive%\*.tmp 2>nul >nul
del /f /s /q %systemdrive%\*._mp 2>nul >nul
del /f /s /q %systemdrive%\*.gid 2>nul >nul
del /f /s /q %systemdrive%\*.chk 2>nul >nul
del /f /s /q %systemdrive%\*.old 2>nul >nul
del /f /s /q %systemdrive%\recycled\*.* 2>nul >nul
del /f /s /q %windir%\*.bak 2>nul >nul
del /f /s /q %windir%\prefetch\*.* 2>nul >nul
rd /s /q %windir%\temp & md %windir%\temp 2>nul >nul
del /f /q %userprofile%\cookies\*.* 2>nul >nul
del /f /q %userprofile%\recent\*.* 2>nul >nul
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" 2>nul >nul
del /f /s /q "%userprofile%\Local Settings\Temp\*.*" 2>nul >nul
del /f /s /q "%userprofile%\recent\*.*" 2>nul >nul
echo 清除系統垃圾完成!
echo. & pause