开发者

How to execute 7zip commands from nant script?

开发者 https://www.devze.com 2023-04-05 05:36 出处:网络
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

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

精彩评论

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