I\'m using this code to launch a .cmd file:
try {
String line;
Process p = Runtime.getRuntime().exec(myPath + \"\\\\punchRender.cmd\"
Instead of running your path, try actually running cmd.exe
but using the build in start
command to launch a new command window. You can see the full set of command line arguments by entering the following at a command prompt:
cmd/?
start/?
in your case, you probably want to execute something like the command:
cmd /c start c:\path\to\punchRender.cmd