How do you do....it? Thread, detect vpn connection in Technical; sorry for the misleading title. Not sure what to call it.
ok, I want to run a batch file that ...
-
14th July 2009, 11:32 PM #1
- Rep Power
- 12
detect vpn connection
sorry for the misleading title. Not sure what to call it.
ok, I want to run a batch file that opens a VPN login web page. Then the user enters user name and pasword on the web page. The page then shows successful login. The question is, how can I detect a successful connection has been made and then continue with the batch file and map some drives?
many thanks
-
-
IDG Tech News
-
14th July 2009, 11:38 PM #2 You could make a VBS file to ping a remote server when the server replies then map the network drives.
-
Thanks to FN-GM from:
firefighting (14th July 2009)
-
14th July 2009, 11:44 PM #3
- Rep Power
- 12

Originally Posted by
FN-GM
You could make a VBS file to ping a remote server when the server replies then map the network drives.
wow! thanks for replying so quickly. Worth a go.
-
-
15th July 2009, 12:02 AM #4 You could just permanently map network drives (on a laptop for example), and they'd only be accessible if VPN connected successfully.
Not quite sure how you'd do it the other way around (with the above method). Keep periodically pinging the DNS server and if it fails delete the drives?
-
Thanks to Michael from:
firefighting (15th July 2009)
SHARE: 
Similar Threads
-
By Norphy in forum Scripts
Replies: 5
Last Post: 20th April 2010, 11:37 AM
-
Replies: 7
Last Post: 12th December 2008, 03:42 PM
-
By FN-GM in forum Wireless Networks
Replies: 6
Last Post: 29th December 2007, 07:19 PM
-
By adamf in forum Windows Vista
Replies: 6
Last Post: 14th August 2007, 07:50 PM
-
By RobFuller in forum Windows
Replies: 0
Last Post: 15th March 2007, 10:08 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules