Allen, ... I tried your script and it was a no go ...

Is there something I need to do with this first?
EXPANDENVIRONMENTVARS()

Sealeopard do I just do something like this:

EXPANDENVIRONMENTVARS(%CLIENTNAME%)

?? Help!