哪位朋友知道?电脑的C盘的容量一天天在缩小,该怎么处理?

来源:百度知道 编辑:UC知道 时间:2024/06/30 20:09:21

可以右击C盘->属性->整理磁盘,这样可以清理一些垃圾文件.

装好系统备份吧,再怎么优化也于事无补的。用了那么多年电脑,真的还没有什么办法可以阻止它的容量不变的。

系统还原C

把下面的内容复制到记事本,并保存为XX.bat,XX是任意的意识,然后运行,就会出现一个CMD窗口,这个东西会删除你的电脑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&#