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

清理windows10系统垃圾⽂件-bat批处理命令系统垃圾⽂件会影响系统运⾏的速度,所以建议使⽤电脑3天左右清理⼀次...我们就⽤bat批处理命令来清理windows10系统垃圾⽂件。⽅法/步骤:1、⿏标右键单击,新建⽂本⽂档-(也就是)记事本,创建bat命令存储⽂件;2、在⽂件中输⼊:++++++++++++++++++++++++++++++++++++++++++++++@echo off

color 0atitle windows10系统垃圾清理---echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★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.++++++++++++++++++++++++++++++++++++++++++++++3、单击⽂件(F),选择另存为(A)...⽂件名填写为:Windows10⼀键垃圾清理.bat,保存类型:所有⽂件(*.*)编码(E):ANSI确定正确之后,点击“保存(S)”完成!4、双击⽂件便开始⾃动垃圾清理⼤约要⼏分钟时间

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

清理windows10系统垃圾⽂件-bat批处理命令系统垃圾⽂件会影响系统运⾏的速度,所以建议使⽤电脑3天左右清理⼀次...我们就⽤bat批处理命令来清理windows10系统垃圾⽂件。⽅法/步骤:1、⿏标右键单击,新建⽂本⽂档-(也就是)记事本,创建bat命令存储⽂件;2、在⽂件中输⼊:++++++++++++++++++++++++++++++++++++++++++++++@echo off

color 0atitle windows10系统垃圾清理---echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★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.++++++++++++++++++++++++++++++++++++++++++++++3、单击⽂件(F),选择另存为(A)...⽂件名填写为:Windows10⼀键垃圾清理.bat,保存类型:所有⽂件(*.*)编码(E):ANSI确定正确之后,点击“保存(S)”完成!4、双击⽂件便开始⾃动垃圾清理⼤约要⼏分钟时间