copy /y "C:\Program Files\Cisco Systems\VPN Client\MYVPN.pcf" "C:\Program Files\Cisco Systems\VPN Client\Profiles" pause
rem vpngui -c connects and shows GUI
rem vpngui -sc connects but does not show GUI (other than login warning)
rem vpngui -sd starts disconnected
C:\Program Files\Cisco Systems\VPN Client>vpnclient.exe
Cisco Systems VPN Client Version 5.0.03.0560
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Windows, WinNT
Running on: 5.1.2600 Service Pack 3
Config file directory: C:\Program Files\Cisco Systems\VPN Client\
Usage:
vpnclient connect <profile> [user <username>] [eraseuserpwd | pwd <password>]
[nocertpwd] [cliauth] [stdin] [sd]
vpnclient disconnect
vpnclient stat [reset] [traffic] [tunnel] [route] [firewall] [repeat]
vpnclient notify
vpnclient verify [autoinitconfig]
vpnclient suspendfw
vpnclient resumefw
echo y | "C:\Program Files\Cisco Systems\VPN Client\vpnclient.exe" connect MYVPN user MYUSER pwd MYPASSWORD stdin