While running bat files, if any error occurs, it will vanishes without waiting for the user to review it. To overcome this issue, we can make the bat file to wait for the user input to terminate the window like getch() is being used in C programming.
To do that, add
at end of the bat file.
To do that, add
set /p DUMMY=Hit ENTER to continue...
at end of the bat file.
No comments :
Post a Comment
Leave a Comment...