Automate vpn connection through batch file

you will have to write a custom batch file since the way to format it will largely depend on what is the utility that you're using as your VPN client.

also it will depend on whether your VPN client allows for Batch command launching and if it supports automatic logins