新建txt文档,复制以下代码
@echo off taskkill /im explorer.exe /f ping -n 2 127.0.0.1 > nul start c:\windows\explorer.exe @echo off echo explorer.exe已关闭 taskkill /im explorer.exe /f echo 正在开启explorer.exe start "" "C:\WINDOWS\explorer.exe" echo explorer.exe已开启! ping -n 4 127.1>null exit
修改TXT格式为bat
浙公网安备 33010602011771号