First of all, my platform is WinME, Win2000 and WinXP.
I have a Java Swing application that I start it up using a batch file. My batch file looks like:
javaw -classpath %CLASSPATH% MySwing
I would like to close the Dos window after MySwing appear and keep MySwing running.
I have tried to put CLS and exit at the end of the batch file but it seems the command stopped at javaw and it won't execute the command after it and the dos window remain there. Btw, I could manually close the dos window while MySwing still running.
How could I programatically close the Dos Window?
Any help will be appreciated. Thank you.