Hi, my requirement is the follwing. I run the batch file using java code. The batch file does the following
- one xml file using java and it takes some time.
- After xml file is run the applet is displayed.
- If the applet is closed manually then the command prompt will close.
- I need to close the command prompt using the java
my problem is that if i exceute taskill/im cmd.exe all others are also closed which i dont want