C:\Windows\temp下有时生成很大文件
来源:百度知道 编辑:UC知道 时间:2024/05/29 04:50:58
正常,因为这个文件本来就是系统临时文件会越来越大,要定期删除
也可以复制下面的代码另存为清除.bat
@echo off
echo 正在清理请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清理系统垃圾完成!现在系统已苗条、迅速!
echo. & pause
定期运行就可以了
这个文件夹是系统自动建立的临时文件夹,大小随你使用情况而变化,在不打