J
John Smith
I have a need to create a process that periodically "dials" a VPN connection
to the office then copies some data to another system.
I can do the copy part and everything manually.
The client is XP the network is server 2003. How do I launch the VPN
connection (the regular internet is cable) from the command line so I can
script this whole thing?
Example:
I am connected to the regular internet, I double click my shortcut to "work
vpn" I enter my credentials (UID, PWD, Domain) I get authenticated, I open
cmd line and run a batch file taht does a robocopy, when it finishes, I
close the vpn.
I tried to use rasphone but no matter what I type at the cmd line after
rasphone (like rasphone workvpn) it does not do anything but prompt me to
pick a connection and connect to it (meaning rasphone is not accepting the
cmd line parms.)
Any ideas?
thanks!
to the office then copies some data to another system.
I can do the copy part and everything manually.
The client is XP the network is server 2003. How do I launch the VPN
connection (the regular internet is cable) from the command line so I can
script this whole thing?
Example:
I am connected to the regular internet, I double click my shortcut to "work
vpn" I enter my credentials (UID, PWD, Domain) I get authenticated, I open
cmd line and run a batch file taht does a robocopy, when it finishes, I
close the vpn.
I tried to use rasphone but no matter what I type at the cmd line after
rasphone (like rasphone workvpn) it does not do anything but prompt me to
pick a connection and connect to it (meaning rasphone is not accepting the
cmd line parms.)
Any ideas?
thanks!