home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.dcom.vpn      VPN protocols, clients, awesomeness      2,348 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,059 of 2,348   
   Marc-A to Simon   
   Re: Scripting VPN connect - disconnect   
   10 Oct 06 19:08:52   
   
   From: marcalain.levesque@videotron.ca   
      
   Thanks a lot Simon,   
   exactly what I was looking for.   
      
   Marc   
      
   "Simon"  wrote in message   
   news:HZtWg.10654$Fx4.5826@newsfe1-gui.ntli.net...   
   > 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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca