想请问一下,电脑中有哪些文件是没用的文件

来源:百度知道 编辑:UC知道 时间:2024/05/15 17:10:26
请问最脑高手,后面跟什么扩展名就是没用的文件可以删掉?

@echo off
color 1f
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%\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\*.*"
del /f /q %windir%\system32\dllcache\*.*
echo 清除系统LJ完成!
echo. & pause
保存上面的东西,改为bat的后缀名,双击吧!

不要自己删除了,使用磁盘碎片整理吧