清理临时文件夹有无坏处?
来源:百度知道 编辑:UC知道 时间:2024/07/07 03:09:44
没事儿.每天清理一次.这样对电脑有好处..可以自己做个一键清理垃圾文件的工具,方法如下:
@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 清理系统垃圾完成!
把上面的代码复制到记事本中..然后把记事本的后缀名改成“.BAT”的格式就行了
这个方法很管用的,也很方便。。
临时文件不会让系统明显变慢,你要清