2025-05-17

String commandText = "cmd /c start D:/index.html";

//String commandText = "cmd /c start osk";

 try {

  Runtime.getRuntime().exec(commandText);

 } catch (IOException e) {

  // TODO Auto-generated catch block

  e.printStackTrace();

 }

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *