>Can anyone tell me what I have to do in a VFP PRG
>to access these environment variables.
You should use a parser like Weblink or FoxWeb for example. Please, don't reinvent the wheel. These parsers are very powerful. They will pass everything to your VFP application. See the FoxPro Developer Tools section on this site.