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

RE: Re: Windows hooks

From: Boris <boris_at_kafana.org>
Date: 2004-05-02 09:52:32 CEST

> You can create a one-line .bat file that calls your vbs script using
> cscript interpreter, like this:
> cscript your_script.vbs %1 %2 %3 %4 %5 %6 %7 %8 %9
> The sequence of %1...%9 is to handle parameters. If your hook requires
> more than 9 parameters, then you are out of luck.

Windows bat files can easily handle more then 9 params using the SHIFT
command. This should work fine on NT4/2K/2K3/XP, but I'm not sure about
SHIFT on 9x.

IF "%1"=="" GOTO continue
GOTO loop

- Boris

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 2 09:53:06 2004

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

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