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...
You can use the mkdir task:
<mkdir dir="one/two/three" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With