Help for this page

Select Code to Download


  1. or download this
    @echo off
    CALL C:\hardcoded\path\to\env_setup.cmd
    ...
    @rem or even
    perl -w c:\hardcoded\path\to\your\commit_hook.pl
    @rem assuming that env_setup.cmd sets up $ENV{PATH} to include Perl.ex
    +e
    
  2. or download this
    @echo off
    @rem Change into the directory where this file resides
    cd /d "%~dp0"
    call setup_env.cmd
    perl -w your\commit_hook.pl