General discussion

Locked

vb script for ie settings

By michael.burgess ·
I need some a vb script...

a script or several scripts that would prompt for settings, like Proxy IP? Then when traveling someone could execute a script depending on what type of connection was available.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by p.j.hutchison In reply to vb script for ie settings

Try this setproxy.vbs:

Dim proxy
Dim wshshell

set wshshell = wscript.CreateObject("WScript.Shell")
proxy = InputBox("Proxy Server?")
wshshell.run "REG 'HKCU\Software\Microsoft\Windows\Current Version\Internet Settings' /v ProxyServer /t REG_SZ /f /d " + proxy

Collapse -

by michael.burgess In reply to

Poster rated this answer.

Collapse -

by michael.burgess In reply to vb script for ie settings

This question was closed by the author

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums