In VS2012. I just set prebuild event as following.
md "$(TargetDir)Strings"
It works fine first time and creates the directory. After that. When ever I am building it is showing error :
Error 1 error MSB3073: The command "md "C:\FIT\Tech\Programmer365\Projects\SDR\Debug\Strings" :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 124 5 SDR-UI
Any help appreciated.