如何清理电脑垃圾?详细点再详细点。有几种方法?

2026年09月27日 23:54
有4个网友回答
网友(1):

这主要有两种
一:自己手动清理
(1)打开“我的电脑”---对C盘点右键---属性---磁盘清理---在跳出的复选框中全部打钩---确定即可
(2)在电脑屏幕的左下角按“开始→程序→附件→记事本”,把下面的文字复制进去,点“另存为”,路径选“桌面”,保存类型为“所有文件”,文件名为“清除系统LJ.bat”,就完成了。记住后缀名一定要是.bat, 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\*.*"
echo 清除系统LJ完成!
echo. & pause

=====到这里为止(这行不用复制)==============================================
二:工具清理
一般的杀毒软件都带这个功能的,当然也可以下载优化类的软件清理

网友(2):

第一种下载360安全卫士或者其他一些软件用其中的清理垃圾功能清理
第二种找到C:\Documents and Settings\Administrator\Local Settings中三个文件夹Temp、History、Temporary internet files,删除三个文件夹中的内容

网友(3):

交你个方法!利用bat批处理来清理C盘! @echo off echo ------------有清理垃圾 就不用每次都去右键我的电脑了 望采纳 楼主,你先用杀毒

网友(4):

交你个方法!利用bat批处理来清理C盘!
@echo off
echo -----------------------------------------------------------------------------

echo 清空IE临时文件目录...
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
echo 正在清除系统临时文件 *.tmp *._tmp *.log *.chk *.old ,请稍等...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
rem .log大部分有可能有用
rem del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
echo 清空垃圾箱,备份文件和预缓存脚本...
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
rem cooke和最近历史还是保留吧...
rem del /f /q %userprofile%\COOKIES s\*.*
rem del /f /q %userprofile%\recent\*.*
echo 清理系统盘无用文件...
%windir%\system32\sfc.exe /purgecache
echo 优化预读信息...
%windir%\system32\defrag.exe %systemdrive% -b
echo 清除系统完成!
echo -----------------------------------------------------------------------------
将上面的文件存为“一键清理系统垃圾.bat”,然后双击运行即可。
建议:最好是一周运行一次清理。