I have a bat file that does a bunch of things and closes the cmd window which is fine when user double clicks the bat file from explorer. But if I run the bat file from a al
Use exit /b 0, not exit
exit /b 0
exit
The former will exit all the way if launched from Windows Explorer, but return to the console if launched from the command line.