不用編程,批處理就行, 看得懂嗎,這個看不懂,自己查,每個字符意思。把下麵文字負責到寫字板,後綴改為bat.echo 正在清除係統垃圾文件,請稍等......del /f /s /q %systemdrive%\*.tmpdel /f /s /q %systemdrive%\*._mpdel /f /s /q %systemdrive%\*.giddel /f /s /q %systemdrive%\*.chkdel /f /s /q %systemdrive%\*.olddel /f /s /q %windir%\*.bakdel /f /s /q %windir%\temp\*.*del /f /a /q %systemdrive%\*.sqmdel /f /s /q %windir%\SoftwareDistribution\Download\*.*del /f /s /q "%userprofile%\cookies\*.*"del /f /s /q "%userprofile%\recent\*.*"del /f /s /q "%userprofile%\local settings\temporary internet files\*.*"del /f /s /q "%userprofile%\local settings\temp\*.*"