I have the following piece of msbuild code:
C:\\DirA\\ C:\\DirB\\
As someone already mentiond the answer is batching.
Here are some links: