How to prevent auto-closing of console at the end of execution of a batch file.

+1 vote
asked May 18, 2017 by Hitesh Garg (355 points)  

I am running some script and the cmd closes automatically after the execution of the script and I am not able to see the output.

Please suggest me what command to put at the end of a batch file to prevent auto-closing of console after the execution of file?

Please log in or register to answer this question.

Welcome to Codingeek Q&A, where you can ask questions and receive answers from other members of the community.