With prior versions of windows there used to be a "close on exit" option you could toggle on command (DOS) windows. This option seems to no longer exist in XP. I have a batch file that is running a java application and it appears to be erroring out periodically. The only problem is, the window closes immediately and therefore I can't see any exceptions that may have been thrown. Any ideas how to force the window to stay open? I suppose I could redirect the output to a file for now.