C盘的容量一天比一天少是怎么回事呀,关回收站的事吗?

来源:百度知道 编辑:UC知道 时间:2024/05/13 10:09:28

上网产生了很多临时文件

1,右击我的电脑-属性-系统还原-勾选“关闭系统还原”;
2,把一些没有用的软件卸载;
3,用优化大师清理系统垃圾文件并删除;
4,全面杀毒。
把这些都做一下就OK了。

清除系统垃圾

@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\*.*"
ec