开发者

Create directory using 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 neve开发者_开发技巧r finished...


You can use the mkdir task:

<mkdir dir="one/two/three" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜