I have set up several vpn connections to different companies. These can be seen in the network connections area inside the control panel.
I have put the username and passwords in so when you double click on the icon and then press return it will connect automatically.
Once i have done this i then run a batch file which connects certain drive letters to remove shares on a server. I then do a remote backup for disaster recovery purposes.
I would likle to do all of this automaticaly, ie.
connect to company 1, run the first remote backup batch job.
disconnect from company 1
connect to company 2, run second backup batch job.
is there anyway of doing this in one big batch job. I do not know how to start the vpn connections atuomatically.