echo off cls echo Killing explorer.exe... rem ping 127.0.0.1 -n 2 taskkill /f /IM explorer.exe pause rem ping 127.0.0.1 -n 2 echo Starting ... cmd.exe /C start /affinity 1 rem pause cls echo Restarting explorer.exe... start explorer.exe exit