Table of Contents

ENVVARLIST property (System)

Description

Returns a list of all the Windows environment variables and their values.

Property Value

This property is an @fm-delimited list of Windows environment variable names and their values. Each item in the list has the format:

<var_name> "=" <var_value>

E.g.

HOMEDRIVE=C:

HOMEPATH=\Users\RevGuy

NUMBER_OF_PROCESSORS=8

And so on (this format is the same as that used with the "SET" OS command line function).

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

Remarks

This method is a simple wrapper around the Windows API GetEnvironmentStrings function - further information regarding Windows environment variables may be found on the Microsoft website.

Example

 
EnvVars = Get_Property( "SYSTEM", "ENVVARLIST" )
 
 
 

See Also

GETENVVAR method, SETENVVAR method.