java 虚拟机执行cmd带空格路径文件

 //  将文件中的空格用“”处理get

Runtime.getRuntime().exec("cmd  /c  start "+modelPath.replaceAll(" ","\" \""));
 cmd

相关文章
相关标签/搜索