title: Trying to run corflags from TFS Build 2010
body: <p>I am using an InvokeProcess activity in TFS 2010 to try and run the corflags application on a built exe.</p>
  
  <pre><code>C:\Builds\4\testing\Sources\BuildAssets\corflags.exe C:\Builds\4\testing\Binaries\Executable.exe /32bit+
  </code></pre>
  
  <p>However I am getting the following message:</p>
  
  <blockquote>
    <p><strong>corflags : error CF001 : Could not open file for writing</strong></p>
  </blockquote>
  
  <p>I am running the TFS Build Agent on my local machine because I am currently in a testing phase, and when I run the exact same command from the command line, the corflags application completes without error.</p>
  
  <p>Any ideas would be greatly appreciated.</p>