[Lazarus] Environment variable list

Sven Barth pascaldragon at googlemail.com
Wed Aug 21 19:17:12 CEST 2013

Stupid question on my side just to check whether I've understood you 
correctly: *are* you blind?

Regarding your problem: use GetEnvironmentVariableCount and 
GetEnvironmentString from unit SysUtils.


On 21.08.2013 18:50, Chris Kelling wrote:
> This could be a totally stupid question, but I'm trying to do this blind. Is there a way to get a list if environment variables defined at run time?  There is a get and set, but I don't know the name of the variable I need, so I want to get a list. This should work cross platform, I think.

More information about the Lazarus mailing list