应用程序产生的临时文件: 一般保存在windows尀temp文件夹中,和用户文件夹的temp文件夹中 清理方法

2025-02-24 07:38:05
推荐回答(1个)
回答1:

你新建一个文本文件,把以下内容输进去:
@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文件,每次需要清理时,双击运行一下就可以了!