Have you opened a DOS window on your Terminal server/Citrix desktop and typed "set" <enter> to see if that environment variable is there to use?
_________________________
Home page: http://www.kixhelp.com/hb/