Prevent batch file in CMD from closing without using Pause

Posted by Bondye on Stack Overflow See other posts from Stack Overflow or by Bondye
Published on 2012-09-17T09:36:38Z Indexed on 2012/09/17 9:37 UTC
Read the original article Hit count: 305

Filed under:
|

Currently I want to run a batch file that fires a command and show me that log. After that I need to be able to commit and view the status so this prompt may not disappear after a key press.

I've searched the net and the only answer people have is pause which close the prompt after a keypress.

Does anyone have the solution for me? Currently I made a shortcut to cmd.exe and made the target my folder, but I want to execute some commands also.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about batch

Related posts about batch-file