String cmd;
当 cmd="a.bat "+" 2";时
Process p = Runtime.getRuntime().exec(cmd);
就不能执行了
a.bat的内容 if "%1"=="2" (a.exe) 
不加参数就可以 高手给解答下ps:批处理是没问题的 在cmd 里"a.bat 2" 可以用