firefighting Posted July 14, 2009 Posted July 14, 2009 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
FN-GM Posted July 14, 2009 Posted July 14, 2009 You could make a VBS file to ping a remote server when the server replies then map the network drives. 1
firefighting Posted July 14, 2009 Author Posted July 14, 2009 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.
Michael Posted July 14, 2009 Posted July 14, 2009 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? 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now