怎样及时清除电脑里已经不需要和不能用的东西,节省内存??

来源:百度知道 编辑:UC知道 时间:2024/05/03 11:04:24

下载个 内存扫把 自动3分钟给你清理一次
教大家自己写个程序
这个程序是自动清理电脑里的垃圾而不会破坏系统 比很多软件都好哦

打开[开始]-[所有程序]-[附件]-[记事本]
然后复制以下内容

@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 s\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Tem