Functions like putenv (getenv, etc...) are available for most all compilers but they do not set the parents environment just the programs. I could be off base for some compilers but I know MSC sets only its COPY of the environment not its parents. Chris