|
|
老有人问,其实很简单的,就一行
<div class="highlighter">
- 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");
|
|