I have a bat file like this:
ipconfig
That will print out the IP info to the screen, but before the user can read that info CMD closes itself.
I believe that CMD assumes the script has finished, so it closes.
How do I keep CMD open after the script is finished?






pausewhich is a nice workaround (and that's why I upvoted this answer) but not one that really solves the issue because after the user hitsEnterorSpacethe window will close... - Nir Alfasi