C盘变红预警了,程序也跑不动,经常各种卡,因为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
最后还是用的比较笨的方法,用鲁大师或者360软件管家之类的软件清除垃圾,清除了下多了10个G够用一段时间