为什么我将一个近1G的文件压缩到E盘后 C盘原来还有2.2*G只剩168MB?是中毒了还是日志占的容量?
来源:百度知道 编辑:UC知道 时间:2024/06/20 05:48:15
应该是日志占的容量,可以清理一下了!
编写一个程序来清理吧,不用手动的
新建一个记事本并输入以下的内容:
@echo off
echo 正在清除系统LJ文件,请稍等......
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%