Jump to content

Recommended Posts

Posted

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

Posted

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 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...