Sorry rene and rob.. i still didn't get what you are talking about ..??
The Taskkill i talked about earlier kills all the command prompts open , it may prove dangerous for my code as i want to close only the
command prompt related to the command i've executed. Suppose if there are already some batchfile running in my system and i called
a new process through
java to execute XCOPY command , it will open a new DOS prompt and execute the command,now i want to close
that command prompt only related to my command not the other batch file dos prompt which is already running. Help me if there is any
command to exit from a particular Dos prompt.
thanks .