不用编程,批处理就行, 看得懂吗,这个看不懂,自己查,每个字符意思。把下面文字负责到写字板,后缀改为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\*.*"