I posted a similar question to this earlier. I would like to know how to keep a DOS window open after my Java program has completed it's execution when starting it from a batch file. I know that I can make the Java program go into some kind of loop and that would keep the window open until I stop it, but can I do this from the batch file. Thanks!!!
Manfred, Yes, actually I have tried that but it finishes the Java program, exits the other DOS window, and THEN pauses. I found something that works. I made a while (true) at the very end of my Java program and then do a echo Hit Control + C to exit. And do a pause after that. This works for me. Can you think of another way? Thanks!!! Barry