java 调用电脑cmd

2017-07-06  本文已影响0人  phi3

代码简单:

Runtime run=Runtime.getRuntime();
  run.exec("cmd /c start +cmd指令");
上一篇 下一篇

猜你喜欢

热点阅读