I am trying to run a batch file that is in another directory from my Java executable. I have the following code :
try { Process p = Runtime.getR
import java.lang.Runtime; Process run = Runtime.getRuntime().exec("cmd.exe", "/c", "Start", "path of the bat file");
This will work for you and is easy to use.