我的电脑C:没有空间了怎么清理呀?????

来源:百度知道 编辑:UC知道 时间:2024/05/26 19:55:15
我不清楚那些文件是有用的.
磁盘清理 还是只有一点空间.有什么办法可以有更多的空间.

WINDOWS 里面东西别动
Documents and Settings 东西别动 其他删

可以这么做运行下面的代码在记事本里输入后,文件名为“清理垃圾.bat”
@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 清除系统垃圾完成!
echo. & pause

然后