@echo off echo Restarting explorer ... taskkill /f /im explorer.exe 2>nul rem sleep 2 seconds ... ping 127.0.0.1 -n 2 >nul 2>&1 start explorer.exe