开发者

How to execute 7zip commands from nant script?

I need to execute 7zip commands from nant script. How can I do that?

I have tried it like this, but it is开发者_开发知识库 not working

&ltexec program="7z.exe" basedir="${sevenzipinstalldir}" commandline="7z a D:\NantTest\Experiment\NewLab\7ziptest.zip -pmypassword D:\NantTest\Experiment\NewLab\"


<exec program="7z.exe" basedir="${sevenzipinstalldir}" commandline="a D:\NantTest\Experiment\NewLab\7ziptest.zip -pmypassword D:\NantTest\Experiment\NewLab\" />

(Don't repeat the executable name in commandline.)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜