电脑C盘容量

来源:百度知道 编辑:UC知道 时间:2024/06/06 23:24:29
各位大虾,我的电脑C盘容量最近突然少了2个多G,我没下电影也没装什么软件,请问是什么原因(电脑几乎没中过毒)

可能是系统还原,系统垃圾文件占用了计算机的空间,清理一下就好了。

把下面代码用记事本保存为cleaner.bat

@echo off
echo .............................................................
echo Clearing the trash, waiting ......
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%\recycled\*.*
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 ............................