C盘某个文件夹问题
来源:百度知道 编辑:UC知道 时间:2024/06/09 04:43:41
系统的临时文件,是隐藏的文件
它的子文夹里的所有东西都可以删除
平时你要经常清理这个文件夹,它太大的话,容易拖慢机子速度
机子中毒的话,一般它最先中
你做一个批处理文件
就是在桌面上创建一个文本文档,在里面输入如下的:
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%\L