怎样清理磁盘垃圾文件 而不伤害到重要的文件

来源:百度知道 编辑:UC知道 时间:2024/05/15 19:36:08
怎样清理磁盘垃圾文件 而不伤害到重要的文件 有什么程序吗?给我个啊 我诗歌菜鸟很笨的 教教我怎么弄啊

下载超级兔子。使用里面的清理垃圾的功能。
切忌。不要过度使用优化类软件的其他功能,特别是你不懂的,不要胡乱使用。不然,会让你的系统崩溃的。

@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

建个文本文件就是.TXT的文件然后把上面的内容粘贴进去
之后从命名把