哪位学兄告诉我,C盘上的东西哪些是又用的,哪些是没用的,谢谢
来源:百度知道 编辑:UC知道 时间:2024/05/17 01:27:49
Documents and Settings、Program Files、WINDOWS目录是肯定有用的,如果过一段时间C盘变小,新建一个文件,名字是“清除系统垃圾文件.bat”,内容如下,就能删除不少垃圾文件。
@echo on
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 s\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del