java (调用)执行.bat 的方法

porc = Runtime.getRuntime().exec("cmd.exe /c run.bat"); 无dos窗口

porc = Runtime.getRuntime().exec(""cmd.exe /c start /min run.bat""); 有dos窗口
原文地址:https://www.cnblogs.com/jifeng/p/2204083.html