I made this batch file to close explorer before launching Worms because for some reason my colors get messed up if I don't. The batch file works fine except that it doesn't close when it's finished. What did I do wrong?
@echo off
echo Closing explorer and launching worms
taskkill /F /IM explorer.exe
"C:\Games\Worms Armageddon - New Edition\wa"
echo Hit any key to resume explorer!
pause
"C:\windows\explorer"
exit
I've tried using start to call the programs and when I use
start "C:\windows\explorer"
it just opens a new command window and the titlebar says explorer.exe but my taskbar and everything is still gone.