你新建一个文本文件,把以下内容输进去:
@echo off
echo 正在清除系统垃圾文件
del /f /s /q %systemdrive%\temp\*.*
del /f /s /q "userprofile%\Local\Temp\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
echo 完成!
echo. & pause
然后保存为.bat文件,每次需要清理时,双击运行一下就可以了!