title: Renaming project output in visual studio using post build event generates error
body: <p>I want to rename the project exe output in visual studio 2010.
  Following the post 
  <a href="https://stackoverflow.com/questions/2420611/rename-project-output-before-being-included-into-setup-project">Rename project output before being included into Setup project</a>
  I always get the error <code>The command rename ... exited with code 1</code></p>
  
  <p>My command is:</p>
  
  <pre><code>rename $(TargetDir)$(TargetFileName) newname.exe
  </code></pre>