Discussion Locked

vb script for ie settings

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

3 replies

by p.j.hutchison

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

This discussion is closed to new replies.