I have been trying to launch the batch file using :
String cmd = "c:\\here.bat";
Runtime runtime = Runtime.getRuntime();
Process proc = runtime.exec(cmd);
Nothing fires though. When I put notepad where cmd is it launches just fine. But when I keep my cmd the same and try and launch it runs the command and keeps running my
java code. The bat file should have a printout screen where it displays certain values. This is not happening.
In my code I do have try/catch blocks.
Any ideas?
Thanks,
Randy