cmd修改dns指令

try { Runtime run=Runtime.getRuntime(); Process p= run.exec("netsh interface ip set dns \"本地鏈接 6\" source=static addr=8.8.8.8"); Reader in=new InputStreamReader(p.getInputStream());
相關文章
相關標籤/搜索