本文介绍的是windows清理系统垃圾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 SettingsTemporary Internet Files*.*" del /f /s /q "%userprofile%Local SettingsTemp*.*" del /f /s /q "%userprofile%recent*.*" echo 清除系统垃圾完成! echo. & pause
1.新建文本 “垃圾清理.txt”
2.复制如上代码
3.更改后缀名为.bat “垃圾清理.bat”
4.运行即可
以上就是关于windows清理系统垃圾bat脚本及使用介绍的全部内容了,感兴趣的小伙伴记得点击关注哦。