VS 2012 (with Update 3) screws up .cmd files containing batch scripts
This may not be specific to Update 3 or VS 2012. I noticed that if you edit a .cmd file containing batch commands in Visual Studio, it adds garbage to the first line of the file. The execution of the scripts will fail because of this. Hence use notepad for this.