title: How to run executable from a different folder?
body: <p>I'm using the following 2 lines in my post build event command line for my VS C# project. </p>
  
  <pre><code>start xcopy "$(TargetPath)" "$(ProjectDir)..\..\..\Bin\" /R /Y /F /I
  start xcopy "$(TargetDir)$(TargetName).xml" "$(ProjectDir)..\..\..\Bin\" /R /
  </code></pre>
  
  <p>It basically copies whatever executables, dll's, etc... are created and copies them to another folder. I am doing this because the other folder contains resources which this project needs and is shared by other people. </p>
  
  <p>Currently, when I run the project, it runs the .exe inside /bin/debug.. not the one that is copied out to <code>other path</code>. How can i change this?</p>
  
  <p>I want the project to run the executable from the different folder not /bin/debug. Thank you for any help.</p>