2010-09-06 66 views

回答

22

好的,我爲你做了15分鐘的研究,並得到了以下命令和鏈接。

打開Internet設置

inetcpl.cpl 

要使用連接選項卡

rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4 

打開Internet設置更多信息 http://discussions.virtualdr.com/archive/index.php/t-41613.html

+2

稍微簡潔一些... 'rundll32.exe inetcpl.cpl,LaunchConnectionDialog' – 2016-11-29 15:41:33

4

我能得到的最接近的是

control inetcpl.cpl,,4 

這將打開Internet屬性對話框連接選項卡預選。不幸的是,它仍然需要您點擊局域網設置才能進入代理設置。

+1

有沒有辦法打開局域網設置對話框? (please) – Wilf 2015-04-24 15:12:21

28

我找到了一個又一個,較短:

inetcpl.cpl ,4 

您可以在「運行」框或「命令提示符」中使用它。

+0

任何方式在啓動窗口中打開LanSetting。 – 2016-07-22 03:15:39

+0

@ shiv.mymail - 不是沒有使用某種形式的UI自動化來單擊按鈕(AutoHotKey或本機.NET類)。沒有公開此功能的方法。 – 2016-11-29 15:46:29

+0

謝謝這是唯一爲我工作的。通過運行命令運行它。 – Stryker 2017-04-20 14:10:17

2

或者,如果您只想選擇「自動檢測設置」,則可以直接使用Reg.exe修改註冊表。

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "hhttp=proxy-url:port;https=proxy-url:port;ftp=proxy-url:port;socks=proxy-url:port;" /t REG_SZ /f 
+0

這個答案幫助我指出了正確的方向。我結束了使用AutoConfigURL參數。 – SebastianH 2016-08-12 12:13:37

0

不是什麼新東西,但仍然有用。

inetcpl.cpl,4  

然後只需在鍵盤上按'L'進行代理設置即可。

+0

這與Vinicius Xavier有何不同[answer](https://stackoverflow.com/a/6629054/4685428)? – 2017-08-27 17:18:09

相關問題