我的C盘没内存了 怎么办(全是系统文件不能删)

来源:百度知道 编辑:UC知道 时间:2024/05/15 16:50:58
那些C:\Documents and Settings\用户名\local setting\temp中,IE临时文件,我都删除了 不大 还是很少内存

@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\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统LJ完成!
echo. & pause
把以上代码输入记事本。以.bat的后缀另存。双击该文件自动清理。 :)
用这个可以删掉系统多余的垃圾文件,可以释放空间。

把安装的程序删掉,按到别的盘。临时文件夹里面的东西删除在C:\D