为什么我的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%\coocies\*.*
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盘垃圾
跟自动更新当然有关!你应该把瑞星杀毒软件装在别的盘里。还有你应该定期定时清理垃圾文件和IE缓存文件!
先查一查有没有病毒,然后再按以下操作:
1、检查一下C:\Windows\Temp文件夹中有没有文件,如有可将其全部删除,该文件夹内的文件全部是系统临时文件,对系统没任何作用。
2、删除C:\Documents and Settings\用户名\Temp文件夹中的文件,这些文件是用户临时文件,没什么用处。
3、凡是文件名以$开头和结尾的文件(如$NtUninstallKB896428$)都可以删除,对系统绝对没有任何影响。这是安装微软补丁时的临时文件,是垃圾,安装完成后对系统没有任何用途,通通可以删除。本来程序安装后应该自动删除,不知微软怎么搞的,安装补丁时的临时文件不会自动删除。
4、删除C:\Documents and Settings\用户名\Local Settings\Temporary Internet Files文件夹中的文件,这是上网时的缓存文件。
建议你将C:\Windows\Temp、C:\Documents and Settings\用户名\Temp、C:\Documents and Settings\用户名\Local Settings\Temporary Internet Files文件夹、我的文档文件夹、虚拟内存的页面文件移动到非系统分区,这可减少系统盘产生磁盘碎片的几率并增加系统盘的空间。每隔一段时间,将C:\Windows\Temp、C:\Documents and Settings\用户名\Temp、C:\Documents and Settings\用户名\Local Settings\Temporary Internet Files文件夹内的文件删除。另外,如果你经常安装、卸载应用程序,C盘里面WINDOWS文件夹也会变大,这是因为应用程序要将一些文件放在该文件夹中,卸载时也有可能不能完全删除。