如何简单快速的清理系统垃圾?

@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
2026年09月27日 23:05
有4个网友回答
网友(1):

在Windows在安装和使用过程中都会产生相当多的垃圾文件,包括临时文件(如:*.tmp、*._mp)日志文件(*.log)、临时帮助文件(*.gid)、磁盘检查文件(*.chk)、临时备份文件(如:*.old、*.bak)以及其他临时文件。特别是如果一段时间不清理IE的临时文件夹“Temporary Internet Files”,其中的缓存文件有时会占用上百MB的磁盘空间。这些LJ文件不仅仅浪费了宝贵的磁盘空间,严重时还会使系统运行慢如蜗牛。这点相信你肯定忍受不了吧!所以应及时清理系统的LJ文件的淤塞,保持系统的“苗条”身材,轻松流畅上网!现在就让我们一起来快速清除系统垃圾吧!下面是步骤很简单就两步!

在电脑屏幕的左下角按“开始→程序→附件→记事本”,把下面的文字复制进去,点“另存为”,路径选“桌面”,保存类型为“所有文件”,文件名为“清除系统LJ.bat”,就完成了。记住后缀名一定要是.bat,
双击它就能很快地清理垃圾文件,大约一分钟不到。

======就是下面的文字(这行不用复制)=============================

@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

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

以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!

网友(2):

新建一个“记事本”,把下面的字复制进去,点“另存为”,把文件名定为“清除系统LJ.bat”就完成,双击它就能很快地清理垃圾文件,大约一分钟不到。

@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

以后只要双击运行该文件,当屏幕提示“清除系统LJ完成!就还你一个“苗条”的系统了!!

网友(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\*.*
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

网友(4):

下载个WINDOWS优化大师吧,里面有个"一键清理".