tags:

views:

287

answers:

1

Not sure if I'm just totally missing it but I couldn't not figure out how to create a new directory using Nant. Is there built in functionality to do this? Can I just use the command prompt? I tried something along the lines of:

<exec program="cmd" commandline="md c:\test" />

but it just opened up a command prompt on the screen and never finished...

+2  A: 

You can use the mkdir task:

<mkdir dir="one/two/three" />
Kyle Trauberman
That's what I was looking for. Thanks.
Abe Miessler