|
Posted by Marc-A on October 10, 2006, 7:08 pm
If you were Registered and logged in, you could reply and use other advanced thread options Thanks a lot Simon,
exactly what I was looking for.
Marc
> Marc-A wrote:
>> Hi,
>> I have an existing VPN connection (in Windows XP) to my office that works
>> fine.
>> For backup purposes, I would like to launch that connection using a
>> script ... do my backup ... and then disconnect. I would like to do that
>> unattended using the schedular.
>> Does anyone know how to launch an existing VPN connection using a script
>> ? and how to disconnect ?
>>
>> Many thanks !
>> Marc
> Hi Marc,
>
> How about the rasdial at the command line:
>
> C:\>rasdial /?
> USAGE:
> rasdial entryname [username [password|*]] [/DOMAIN:domain]
> [/PHONE:phonenumber] [/CALLBACK:callbacknumber]
> [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]
>
> rasdial [entryname] /DISCONNECT
>
> rasdial
>
> Command completed successfully.
>
> C:\>
>
> Simon
|