Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + 網頁地址);url
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + 網頁地址);
這個Runtime.getRuntime().exec(String command)方法就像在 WIN+R 呼出的運行窗口運行命令的效果同樣code