我的C盘没安装什么,怎么会有很多东西,怎样去除一些没用的东西。

来源:百度知道 编辑:UC知道 时间:2024/05/24 02:07:58

你上网啦,安装软件了什么等等都会在c盘留下垃圾文件。
建议使用window优化大师进行清理。
如果不用的话,可以复制以下代码到记事本中,另存为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 清除系统LJ完成!
echo. & pause

点C盘