Files
windows-scripts/RestartExplorerAtLogin.bat
2023-03-05 21:08:50 -06:00

8 lines
171 B
Batchfile

tasklist /FI "IMAGENAME eq explorer.exe" /NH | find /I /N "explorer.exe" >NUL
if "%ERRORLEVEL%"=="0" goto end
taskkill /f /im "explorer.exe"
start explorer.exe
:end
exit