要清楚电脑上所有无用的东西,是系统运行的更好,应该怎么办

来源:百度知道 编辑:UC知道 时间:2024/06/19 04:15:02
弄了几年的电脑,什么都弄,发现电脑上垃圾越来越多,没有用的东西一大把,搞电脑运行特慢,特不爽,所以请教大家怎么使他更”清白”

复制下面这段代码到记事本:
======就是下面的文字(这行不用复制)=============================

@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

=====到这里为止(这行不用复制)==