RE: Setting environment variables

2010-02-24 Thread Rez P
When your batch file is invoked all variables declared by the set command will not get passed to the 2nd instance of the dos/command window. You have to play around with command /c to get this to work. Other alternatives: Option 1: If you're on a Windows machine, declare all the variable

Re: Setting environment variables

2008-08-10 Thread Dominique Devienne
On Fri, Aug 1, 2008 at 3:08 PM, Yang Zhang <[EMAIL PROTECTED]> wrote: > If there's a better way to do what I'm trying to do, I'm all ears. Thanks in > advance for any answers! I think you basically have two options: 1) use or , to wrap with some child elements. 2) write your own task that does

RE: Setting environment variables

2008-08-01 Thread Shawn Castrianni
I have the same problem. The exec task is too primitive. Here are things I would like to see: 1. tag with if and unless attributes 2. subtags with if and unless attributes 3. subtag so that an environment set can be defined somewhere with id and then referenced multiple times with refid Ba