Scripting Question:
Download Questions PDF

How to disconnect the vpn client in VB Script?

Answer:

My users have found this helpful. When a user has a drive mapped (especially in XP) on a laptop, it can sometimes slow the system down looking for the drive when not connected to the network. This solution allows them to connect to the Network drives only when they want to if in the local office or through VPN.
'Although DirectConnect works welll, not all of us have the resources for that.

This script will look up a set of network drive, and if connected, disconect them, or if not connected, connect them.

additional code could be added to connect printers, or even test the network before attempting connection.

Download Scripting Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know how to create "Double Line Hyperlink" in HTML?Suppose i m getting Unresponsive Script in FireFox 1.0.5.3...i know i can set dom.max_script_run_time as 20 ..through about:config ..

but it is the part of user..and i want to set this value through javascript code ..?