title: Jenkins coping with spaces in batch file arguments
body: <p>I'm setting up Jenkins on Windows to take care of the builds for a Windows project I've been working on. Until now, I've just been building locally. I've got a batch file that performs the build, which ends up generating some msi installers.</p>
  
  <p>Some of the projects contain post builds steps that run batch files. The arguments to the batch files sometimes contain spaces. This isn't a problem when I run my build batch file from the command prompt.</p>
  
  <p>However, Jenkins seems to have a problem with this - I get errors such as</p>
  
  <p>"File not found: C:\Program"</p>
  
  <p>I'm puzzled as to why the error happens when Jenkins triggers the batch, but not when I run it manually - any ideas?</p>