First you have to figure out why it's "not working."
Does the user account which your server runs under have permission to
execute the script and everything that it needs in the path?
Does the script consist of commands/syntax that you can put in a
regular .bat file? If so, what happens if you rename the script to
.bat (mine is pre-commit.bat and it works fine)?
Are you certain that it's not just a syntax or logic error in the script itself?
On 11/15/06, Morgovsky, Alexander (US - Glen Mills)
> I did this, but the script did not work. May someone please post
> exactly what I need to rename to pre-commit.cmd so that this works?
> -----Original Message-----
> From: Andy Levy [mailto:firstname.lastname@example.org]
> Sent: Wednesday, November 15, 2006 2:47 PM
> To: Morgovsky, Alexander (US - Glen Mills)
> Cc: Nathan Kidd; email@example.com
> Subject: Re: Pre-commit script for Windows - Require log msg
> On 11/14/06, Morgovsky, Alexander (US - Glen Mills)
> <firstname.lastname@example.org> wrote:
> > Thanks. Actually, that did not work. The reason why I put those
> > characters in there was because I thought it was needed to escape the
> > space. In your script, it looks like you are not calling it
> > pre-commit.cmd. Does that matter?
> It does need to be called pre-commit (unless you're calling it from
> another script/program which is named pre-commit) and recognized by
> extension as being executable - so .exe, .bat, or .cmd should all
> work, and other types (js, wsf, py, pl) can be set up to work as well
> with a little tweaking IIRC.
> This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message.
> Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Nov 16 03:59:30 2006