title: VS 2013 Release Management - Illegal characters in path
body: <p>I have build a custom deployment Action based on TFS 2010 command-line utility, TF.exe. When executed from a DOS prompt on the deployment agent server, it runs fine.</p>
  
  <pre><code>TF view /collection:uri "$source path" &gt; "local path"
  </code></pre>
  
  <p>and the file does get downloaded, without a need of a workspace. However, when executed through VS2013RM, I get an error:</p>
  
  <pre><code>Illegal characters in path.
  </code></pre>
  
  <p>When I hover over the message column it reads:</p>
  
  <pre><code>The installation command \"my correct command line here\" failed with the exit code \"100\"
  </code></pre>
  
  <p>What gives? How come it executes fine in one place, but not the other? The RM Client runs under a network service account, which is part of the local admins and collection's service accounts.</p>
  
  <p><strong>After enabling log</strong></p>
  
  <p>I was able to capture this command:</p>
  
  <pre><code>Deployment: **********Installing component using command "C:\DevOps\TfsClient\TF.exe view /collection:http://[removed detail] "$/[removed detail]/MetastoreCS.xml" &gt; "F:\[removed detail]\MetastoreCS.xml""
  </code></pre>
  
  <p>Than the error</p>
  
  <pre><code>9/24/2014 10:58:10 AM - Information - (12628, 26560) - Deployment: Exception The installation  command \"C:\DevOps\TfsClient\TF.exe view /collection:http://[removed detail] "$/[removed detail]/MetastoreCS.xml" &gt; "F:\[removed detail]\MetastoreCS.xml"\" failed with the exit code \"100\".
  </code></pre>