I have opened a commnad prompt using java program and another command prompt manually. Now my requirement is that i need to close the command prompt that i have opened by ja
you can try to program "exit" into the command prompt after you are done with your tasks in command prompt