Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create directory using Nant

Tags:

nant

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...

like image 761
Abe Miessler Avatar asked Dec 10 '09 02:12

Abe Miessler


1 Answers

You can use the mkdir task:

<mkdir dir="one/two/three" />
like image 144
Kyle Trauberman Avatar answered Nov 16 '22 19:11

Kyle Trauberman