title: VisualSVN post-commit hook with batch file
body: <p>I'm running VisualSVN on a Windows server.</p>
  
  <p>I'm trying to add a post-commit hook to update our staging project whenever a commit happens.</p>
  
  <p>In VisualSVN, if I type the command in the hook/post-commit dialog, everything works great.</p>
  
  <p>However, if I make a batch file with the exact same command, I get an error that says the post-commit hook has failed. There is no additional information.</p>
  
  <p>My command uses absolute paths.</p>
  
  <p>I've tried putting the batch file in the VisualSVN/bin directory, I get the same error there.</p>
  
  <p>I've made sure VisualSVN has permissions for the directories where the batch file is.</p>
  
  <p>The only thing I can think of is I'm not calling it correctly from VisualSVN. I'm just replacing the svn update command in the hook/post-commit dialog with the batch file name ("c:\VisualSVN\bin\my-batch-file.bat") I've tried it with and without the path (without the path it doesn't find the file at all). </p>
  
  <p>Do I need to use a different syntax in the SVNCommit dialog to call the batch file? What about within the batch file (It just has my svn update command. It works if I run the batch file from the command line.)</p>
  
  <p>Ultimately I want to use a batch file because I want to do a few more things after the commit. </p>