I am using Visual Studio 2010 SP1.
What I first tried was this:
You can replace the three separate cd
commands with a single one:
cd myproject\bin\Release
Or simply run your executable from the solution folder:
myproject\bin\Release\myproject.exe