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
try following
try { String[] command = {"cmd.exe", "/C", "Start", "D:\\test.bat"}; Process p = Runtime.getRuntime().exec(command); } catch (IOException ex) { }