I believe you'll need to use EXPANDENVIRONMENTVARS() to retrieve the actual value of the environment variable. Check the KiXtart Manual.
_________________________
There are two types of vessels, submarines and targets.