专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
老有人问,其实很简单的,就一行 Process p1 = Runtime.getRuntime().exec("notepad d:\\1234.txt"); Process p2 = Runtime.getRuntime().exec("cmd /c notepad d:\\1234.txt"); Process p3 = Runtime.getRuntime().exec("cmd /c start notepad d:\\1234.txt"); 其中的 1234.txt 是文件路径,如果不存 [阅读全文] [PDF]
1 共1条 分1页