【win10清理系统垃圾脚本】

您所在的位置:网站首页 win10优化脚本 【win10清理系统垃圾脚本】

【win10清理系统垃圾脚本】

2023-10-04 00:23| 来源: 网络整理| 查看: 265

win10删除系统及程序临时文件脚本

新建txt文件将脚本复制进去,文件后缀“.txt”修改为“.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


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3