I need to execute a command line statement prior to a build takes place and another command line statement after the build takes place. The place to do this is in Build Events on the properties for the project. However adding any command to either of the events results in a build failure (this is not a runtime error). The error message from the compiler is:
"The command "blah blah blah" exited with code 1".
The commands I'm creating are very simple (makedir c:\test) and work when ran from a command promt.
Are build events not "really" supported in Visual C# Express edition or am I missing some extra and necessary syntax
Thanks for any assistance.

Visual C# Express Build Events
bl4ckprint
Hi Iperrin,
I am marking the above thread as an answer.If you think that this is not the answer you are looking for then you can click on Unmark as Answer button on the same thread and re-open the post.
FYI: Once you post a thread in forums, if you think that a reply as answered your question then please go ahead and click on Mark as Answer button on the reply.
Thank you,
Bhanu.
carywinton
I've tested mkdir c:\test in my pre-build events, and it is working fine.
Please try mkdir instead of makedir to create a directory.