Visual Studio 2003’s build scripts are kind of weird. The generator doesn’t default to escaping directory names correctly, so you have to remember to put quotes around things. It also just runs it as a batch file, which means that it has to inline a bunch of debug code to catch errors.

Build script for the c# xmp reader that’s going to become the tagger for the plasticimages project:

xcopy "$(SolutionDir)Redland\bin\Debug\\*.dll" . /d /y
xcopy "$(ProjectDir)win32dep\\*.*" . /d /y

Useful post I ripped the xcopy from: