怎么手动删除TEMP

来源:百度知道 编辑:UC知道 时间:2024/05/10 08:41:54
TEMP是在什么位置,我该怎么删除.
一键清理垃圾文件行不行

你把下面的代码粘贴进笔记本 另存为“cls.bat” 双击运行

@echo 清除系统垃圾
@echo off
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 清除完成
pause

一键清理可以啊,上面代码就是一键清理

C:\WINdows