Created
November 28, 2012 18:10
-
-
Save waylan/4162970 to your computer and use it in GitHub Desktop.
How to stop cmd window from closing when running a script from a bat file. This way, you can read any errors and simple hit [enter] when you are done and the window will close then.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Python27\python.exe myscript.py | |
set /p variable= "Hit enter to continue" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment