tags:

views:

71

answers:

0

Hi, my requirement is the follwing. I run the batch file using java code. The batch file does the following

  1. one xml file using java and it takes some time.
  2. After xml file is run the applet is displayed.
  3. If the applet is closed manually then the command prompt will close.
  4. 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