I'm trying to execute a batch file to move a bunch of files around after a build so I've created a post-build event that looks like this:
$(ProjectDir)CopyPlugins.bat $(ConfigurationName)
The problem is that when Visual Studio tries to run the event I get the error that the process exited with code 9009
The problem appears to be that VS puts the entire line in quotes so that the command it runs is:
"C:\Users\kdmurray\Visual Studio 2008\Projects\Runner\Runner\CopyPlugins.bat Debug"
Of course what I intended it to do was a very subtle variation, changing the location of the closing quotation mark.
"C:\Users\kdmurray\Visual Studio 2008\Projects\Runner\Runner\CopyPlugins.bat" Debug
Is there any way around this rather annoying "help" that VS provides?