[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Small tool to make Tortoise auto-connect to VPN

From: Leo Davidson <leonudeldavidson_at_gmail.com>
Date: Fri, 9 Jul 2010 08:56:47 +0100

On 9 July 2010 02:18, Alexander Iljin <ajsoft_at_yandex.ru> wrote:
> Hello!
>
> LD> I couldn't find a good one existing solution so I wrote my own. (I
> LD> found was RasDial.exe but that prompts via the command-line and asks
> LD> for the VPN password even if you're already connected.)
>
>  nircmd rasdial "VPN Connection Name Here"
>  nircmd rashangup "VPN Connection Name Here"
>  ... and other nice functions.
>
>  http://www.nirsoft.net/utils/nircmd.html
>  Freeware.
>  Exe file is only 29 Kb.

nircmd is a great toolbox but in this case didn't do what I want. Its
rasdial features seem to be a subset of the rasdial.exe that comes
with Windows (probably written at a time when rasdial.exe didn't
exist).

nircmd will not show any user interface when establishing the
connection and, in particular, won't prompt for the VPN username or
password if they are not saved with the connection settings.

(You can specify the password to nircmd via the command line but I
don't want the password stored in a batch file. I also like to see the
connection progress dialogs as it sometimes takes a long time, gets
stuck or fails, so it's useful to see which stage the connection is
at.)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2631326

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-09 09:57:16 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.