This is for a Windows 7 computer
I running a batch file (.bat
) and want to configure it to open Internet Options and press the "Connections" tab and then press "OK".
So far I've got the following, which opens Internet Options:
inetcpl.cpl
I've been trying to follow the most upvoted answer at this link to do it, using the following, but it doesn't work or even open Internet Options:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run inetcpl.cpl