传说中的30秒清除电脑垃极BAT命令好用吗?

来源:百度知道 编辑:UC知道 时间:2024/06/05 20:55:00
我总感觉操作太简单了点,不会有什么副作用吧。

很不错的啊,不要听他们算讲,你看看里面的批处理内容就知道了,只是清理系统缓存文件而已,又不会删除任何系统文件的,如何会不得不重装系统呢?

有可能是你用的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 清除系统缓存文件完成!
echo. & pause