How to set the path environment variable from ant script

前端 未结 7 823
我在风中等你
我在风中等你 2020-12-05 06:37

How to set the path environment variable from ant script

相关标签:
7条回答
  • 2020-12-05 07:15

    You can use setx command to set the environment variables.

    For setx command help refer http://ss64.com/nt/setx.html

    <exec executable="setx.exe">
      <arg line="Path C:\jdk1.5.0_12\bin"/>
      <arg line="/m"/>
    </exec>
    
    0 讨论(0)
提交回复
热议问题