蜘蛛服务器放在内网,用adsl拨号,老断网,自己编写了个自动拨号的程序,方法思路和大家分享一下!Rasdial.java: public void runbat() { String cmd = "cmd /c start D:/rasdial.bat"; try { Process ps = Runtime.getRuntime().exec(cmd); System.out.println(ps.getInputStream()); } catch (IOException ioe) { ... Read More
posted @ 2011-09-28 11:08 linyu2006 Views(945) Comments(0) Diggs(0) Edit