深度win7如何实现一键清理系统垃圾

时间:2025-02-03 08:17:43

作者:admin

来源:系统之家

  大家好,今天要跟大家分享一下,在Win7系统里怎么一键清理垃圾文件。其实很多人都不太懂这个操作,通常会用一些第三方软件来帮忙。不过今天我有个简单的方法,大家可以跟着文章来试试看哦!

首先我们新建一个记事本文件,将下列内容复制到记事本文件中,然后把文件保存为.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% ecycled*.*

del /f /s /q %windir%*.bak del /f /s /q %windir%prefetch*.*

rd /s /q %windir% emp & md %windir% emp

del /f /q %userprofile%cookies*.*

del /f /q %userprofile% ecent*.*

del /f /s /q “%userprofile%Local SettingsTemporary Internet Files*.*”

del /f /s /q “%userprofile%Local SettingsTemp*.*”

del /f /s /q “%userprofile% ecent*.*”

echo 清除系统垃圾完成!

echo. & pause

深度win7如何实现一键清理系统垃圾

以上就是深度win7实现一键清理系统垃圾的全部内容,大家是否明白了呢?

大家都在看

提取码
XGZS
关闭 前往下载