This been killing me... Since I've changed to Windows 8 I cannot run post build events batch or macros. I've been trying to do xcopy and run some bat files (with xcopy) without success. They always exit with code 1 or 4.
If i use the full path lets say: xcopy "c:\folder1\" "d:\folder2\"
everything works fine.
But if i try to use macros or run .bat files "c:\file1.bat" or $(SolutionDir)Copy$(ProjectName).bat
it doesn't work.
I've also tried to call it with cmd and call cmd. The Batch files run fine in command-line, and other people have been running the projects like this without problems.
I'm using visual studio 2012 (as Administrator) and team foundation.