Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proxy .PAC-Files

Status
Not open for further replies.

Opcode

Programmer
Oct 16, 2001
7
DE
Hi,

is there any way to get the proxy informations out of a .pac-File with the help of vbscript?

Opcode
 
Yup,

If you know the full unc path to the pac file (and have rights to get to it) then the file system object can do this. Perform a ReadAll method to populate a variable with the contents of the pac file.

If you don't know the full unc path then you'll have to use the internet transfer control to retreive the pac file into a variable.

With either method you should then be able to grep the file to retrieve proxy information.

Hope it helps,
Rob Rob
robschultz@yahoo.com
-Focus on the solution to the problem, not the obstacles in the way.-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top