2023年6月21日发(作者:)

打开记事本,拷贝一下代码:

@echo off

color 0a

title 糊涂win7系统垃圾清理

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo.★☆ ☆★

echo.★☆ ☆★

echo.★☆ 糊涂为您清理系统垃圾,请稍等...... ☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo 请勿关闭本窗口......

echo 正在清除系统垃圾,请稍后......

echo 删除补丁备份目录

RD %windir%$hf_mig$ /Q /S

echo 把补丁卸载文件夹的名字保存成

dir %windir%$NtUninstall* /a:d /b >%windir%

echo 从中读取文件夹列表并且删除文件夹

for /f %%i in (%windir%) do rd %windir%%%i /s /q

echo 删除

del %windir% /f /q

echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%*.log已经包含删除此类文件)

del %windir%KB*.log /f /q

echo 删除系统盘目录下临时文件

del /f /s /q %systemdrive%*.tmp

echo 删除系统盘目录下临时文件

del /f /s /q %systemdrive%*._mp

echo 删除系统盘目录下日志文件

del /f /s /q %systemdrive%*.log

echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详)

del /f /s /q %systemdrive%*.gid

echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件

del /f /s /q %systemdrive%*.chk

echo 删除系统目录下old文件

del /f /s /q %systemdrive%*.old

echo 删除回收站的无用文件

del /f /s /q %systemdrive%recycled*.*

echo 删除系统目录下备份文件

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

echo 删除应用程序临时文件

del /f /s /q %windir%prefetch*.* echo 删除系统维护等操作产生的临时文件

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

echo 删除当前用户的COOKIE(IE)

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

echo 删除internet临时文件

del /f /s /q "%userprofile%local settingstemporary internet files*.*"

echo 删除当前用户日常操作临时文件

del /f /s /q "%userprofile%local settingstemp*.*"

echo 删除访问记录(开始菜单中的文档里面的东西)

del /f /s /q "%userprofile%recent*.*"

echo

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo.★☆ ☆★

echo ★☆ ☆★

echo ★☆ 恭喜您!清理全部完成! ☆★

echo.★☆ ☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo.

复制到这里停止!保存类型为所有文件,文件名为“糊涂win7系统垃圾清理.bat”。

运行即可清理系统垃圾。

2023年6月21日发(作者:)

打开记事本,拷贝一下代码:

@echo off

color 0a

title 糊涂win7系统垃圾清理

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo.★☆ ☆★

echo.★☆ ☆★

echo.★☆ 糊涂为您清理系统垃圾,请稍等...... ☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★

echo 请勿关闭本窗口......

echo 正在清除系统垃圾,请稍后......

echo 删除补丁备份目录

RD %windir%$hf_mig$ /Q /S

echo 把补丁卸载文件夹的名字保存成

dir %windir%$NtUninstall* /a:d /b >%windir%

echo 从中读取文件夹列表并且删除文件夹

for /f %%i in (%windir%) do rd %windir%%%i /s /q

echo 删除

del %windir% /f /q

echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%*.log已经包含删除此类文件)

del %windir%KB*.log /f /q

echo 删除系统盘目录下临时文件

del /f /s /q %systemdrive%*.tmp

echo 删除系统盘目录下临时文件

del /f /s /q %systemdrive%*._mp

echo 删除系统盘目录下日志文件

del /f /s /q %systemdrive%*.log

echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详)

del /f /s /q %systemdrive%*.gid

echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件

del /f /s /q %systemdrive%*.chk

echo 删除系统目录下old文件

del /f /s /q %systemdrive%*.old

echo 删除回收站的无用文件

del /f /s /q %systemdrive%recycled*.*

echo 删除系统目录下备份文件

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

echo 删除应用程序临时文件

del /f /s /q %windir%prefetch*.* echo 删除系统维护等操作产生的临时文件

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

echo 删除当前用户的COOKIE(IE)

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

echo 删除internet临时文件

del /f /s /q "%userprofile%local settingstemporary internet files*.*"

echo 删除当前用户日常操作临时文件

del /f /s /q "%userprofile%local settingstemp*.*"

echo 删除访问记录(开始菜单中的文档里面的东西)

del /f /s /q "%userprofile%recent*.*"

echo

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo.★☆ ☆★

echo ★☆ ☆★

echo ★☆ 恭喜您!清理全部完成! ☆★

echo.★☆ ☆★

echo ★☆ ☆★

echo.★☆ ☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★

echo.

复制到这里停止!保存类型为所有文件,文件名为“糊涂win7系统垃圾清理.bat”。

运行即可清理系统垃圾。