cmd /c C:\\Wget\\wget.exe -P C: --no-check-certificate http://file.com/file.exe
String wget_command = "cmd /c C:\\Wget\\wget.exe -P D: --no-check-certificate " + sourceLocation; try { Process exec = Runtime.getRuntime().exec(wget_command); int exitVal = exec.waitFor(); System.out.println("Exit value: " + exitVal); } catch (InterruptedException | IOException ex) { System.out.println(ex.toString()); } driver.close(); }
//convert java to c#
Hiç yorum yok:
Yorum Gönder