change directory and run the batch file in the same command prompt
<p>Is there any way to open the command prompt and change directory in the command prompt and run the batch file in the same command prompt using java.</p>

<p>I know how to open the command prompt using java.
Thanks,</p>
