开发者

Create directory using Nant

开发者 https://www.devze.com 2022-12-13 20:24 出处:网络
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 s

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

精彩评论

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