Reputation: 485
I have this batch file
java -jar evac.jar
which runs a java console application. It works, but when it's done it auto-closes, thus proving pointless to me.
How would I stop it from closing after execution so that I could analyze my data
Upvotes: 0
Views: 3181
Reputation: 4004
You could append
pause
to your batch file which will wait for a keystroke before closing.
Upvotes: 4