Is there a way to launch the IE proxy settings dialog from the Windows command line to save time g开发者_StackOverflow社区oing through menus in any application?
I've found another one, shorter:
inetcpl.cpl ,4
You can use it in Run box or Command Prompt.
Okay, I made a 15 minutes research for you and got following commands and a link.
To Open Internet Settings
inetcpl.cpl
To Open Internet Settings with Connections Tab
rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4
For more information http://discussions.virtualdr.com/archive/index.php/t-41613.html
The closest I can get is
control inetcpl.cpl,,4
which opens the Internet Properties dialog with the Connections tab preselected. Unfortunately it still requires you to click on LAN settings to get to the proxy settings.
Alternatively if all you want to do is select "Automatically detect Settings" You could just use Reg.exe to modify the Registry Directly.
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
Not something new but still useful.
inetcpl.cpl ,4
And then simply press Alt+L on keyboard to change the proxy settings.
command: rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4
you can found it on Windows ten forums List of Commands to Open Control Panel Items in Windows 10
You also can create a shortcut by steps below:
1) Right click or press and hold on your desktop, click/tap on New, and click/tap on Shortcut.
2) Copy the command you want from the table below as the "location", and click/tap on Next.
3) Type a name you want for this shortcut, and click/tap on Finish.
4) If you like, you can Pin to Start, Pin to taskbar, add to All apps, add to Quick Launch, assign a keyboard shortcut to, or move this shortcut to where you like for easy use.
精彩评论