How to stop batch files from closing automatically?
Usually a batch file auto-closes after processing the commands. But if you want to stop this behaviour then add a "pause" command at the end of the file.
pause DOS command
This prints "Press any key to continue . . . " message and waits for a key stroke.
No comments:
Post a Comment