原文:点击打开链接
public static void main(String args[]) {
try {
Process process = Runtime.getRuntime().exec(
"cmd.exe /c notepad c:/123.txt");
} catch (Exception e) {
e.printStackTrace();
}
}
原文:点击打开链接
public static void main(String args[]) {
try {
Process process = Runtime.getRuntime().exec(
"cmd.exe /c notepad c:/123.txt");
} catch (Exception e) {
e.printStackTrace();
}
}