谁占用了我的C盘

来源:百度知道 编辑:UC知道 时间:2024/05/10 23:33:32
无论重新安装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 清理系统垃圾完成!
echo. & pause

以上另存为.bat的文件 双击它清除下系统垃圾

你把C盘分多少G啊

系统垃圾引起的

如果硬盘够大 可以考虑分区的时候分大些

本人建议软件游戏什么的不