怎麽清理系统盘?

来源:百度知道 编辑:UC知道 时间:2024/06/28 04:15:51
现在我的C盘就到上限了,刚装系统是2G多的,现在都差不多5G了,我的C盘才6G,本想自己删除,但不知道那重要不,真烦!
请问各位怎么清理啊?
我大部分软件游戏之类都不装在C,之后一点软件装在C,而且不大!

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 清除系统LJ完成!
echo. & pause

把上面的复制到记事本中,然后改变成批处理的的格式(*.bat)
能帮你清除垃圾文件,不过系统还是经常做好点,要不就做好个GOST,这样不好用了就恢复回来

@echo off