怎么样给电脑清理垃圾呢?

来源:百度知道 编辑:UC知道 时间:2024/05/28 06:46:59
c盘满了,系统垃圾也清了,我安装的程序也不多,就是不知道怎么样做有效点

教大家自己写个程序
这个程序是自动清理电脑里的垃圾而不会破坏系统 比很多软件都好哦

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

@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 "%userprof