import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
/**
* 小批量打开默认浏览器访问页面,没什么实用性
* @author 42
*/
public class Web1 {
public static void main(String[] args) throws IOException, InterruptedException {
for(int i=90;i<100;i++){
String cmd = "rundll32 url.dll,FileProtocolHandler http://jane7.com/articles/"+i+"/like";
Runtime.getRuntime().exec(cmd);
Thread.sleep(1000);
}
}
}
分類