On 7/2/2009 12:34 AM, Hussein Shafie wrote:
> Andy Black wrote:
>   
>> In my configuration files, I'm trying to use a <cfg:shell> element that 
>> invokes a batch file (on Windows - it would be a shell script on another 
>> platform).  This batch file needs to make use of a system environment 
>> variable that was added by an installation package.
>>
>> I noticed that while newly created command prompts know about the new 
>> environment variable, the batch file run from XXE does not.  Stopping 
>> and restarting XXE made no difference.  It was not until I rebooted the 
>> computer that the command prompt created by the <cfg:shell> element knew 
>> about the new environment variable.
>>
>> Does anyone have an idea as to what the problem may be?
>>     
>
>
> * May be that starting XXE using xxe.bat rather than xxe.exe would solve
> the problem.
>   

Yes, this does work.  Thanks.

--Andy

Reply via email to