怎么清除临时文件tmp
来源:百度知道 编辑:UC知道 时间:2024/05/26 02:47:27
这种东西删除了,再在回收站里删,删完了磁盘空间力马又被战掉了...这东西怎么回事啊...太纠结啊....
先点开始---程序---附件---记事本,然后把下面的程序复制进去,最后再另存,后缀改为.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 清除系统LJ完成!
echo. & pause
先点开始---程序---附件---记事本,然后把下面的程序复制进去,