Process pro = Runtime.getRuntime().exec("cmd /F:ON /c start notepad.exe");
用上面的代码可以启动F盘的notepad.exe,现在我想问的是怎样通过Runtime.getRuntime().exec()来运行其他的应用程序啊??比如说vb的应用程序?
请大家帮忙!!!!!(能给个例子最好了)多谢大家!!!!!
...全文
1472打赏收藏
----Runtime.getRuntime().exec()的问题----
Process pro = Runtime.getRuntime().exec("cmd /F:ON /c start notepad.exe"); 用上面的代码可以启动F盘的notepad.exe,现在我想问的是怎样通过Runtime.getRuntime().exec()来运行其他的应用程序啊??比如说vb的应用程序? 请大家帮忙!!!!!(能给个例子最好了)多谢大家!!!!!