我是电脑菜鸟,我不知道为什么C盘的占用一天比一天多,才几分钟就多占了0.1G,请问这是为什么?

来源:百度知道 编辑:UC知道 时间:2024/07/02 16:15:50

经常清理系统垃圾文件(我基本1-2天清理一次)

清理系统垃圾文件的方法:

将下面这段命令复制,粘贴到记事本中,然后将记事本的扩展名 .txt重命名为 .bat,双击即可:

@echo off
pause
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