title: Paths in Visual Studio post-build event
body: <p>i have following problem: Because Visual Studio can't handle chain references, i need to copy all "chain reference"-DLLs to my program's bin-folder. For this, i use Robocopy.</p>
  
  <p>The only problem is, that my command-line, i enter in Visual Studio post-build event is split incorrect.</p>
  
  <pre><code>ROBOCOPY "$(TargetDir)" "$(SolutionDir)Map\bin\$(ConfigurationName)\" *.dll /LOG:RCPY.log
  </code></pre>
  
  <p>This is my build event. All i get now is following:</p>
  
  <pre><code>Gestartet: Fri Jul 06 15:40:30 2012
  
  Quelle : F:\Sicherung\Visual Studio\Projects\Map\Core\Core.GUI\bin\Release\ F:\Sicherung\Visual\
  Ziel : F:\Sicherung\Visual Studio\Projects\Map\Core\Core.GUI\bin\Release\Studio\Projects\Map\Map\bin\Release\
  
  Dateien : *.dll
  
  Optionen: /COPY:DAT /R:1000000 /W:30
  </code></pre>
  
  <p>Whyever, it splits it at the empty space of "Visual Studio" in the second path/parameter.
  I tried everything with the quotes, but either Robocopy isn't executed (at least the log file doesn´t get overwritten) or the i get this log entry shown thereover...</p>
  
  <p>And Visual Studio shows:</p>
  
  <blockquote>
    <p>The command ... exited with code 16</p>
  </blockquote>
  
  <p>which means there is a fatal error, mostly cause of invalid paths.</p>