You can use either Pause or cmd /k commands to keep the command window open in a batch file. If you want, you can also make this action permanent by modifying some keys in the Registry. We have explained all these three methods in this article