Environment Block

The system environment block represents environmental variables for all users of the current process. The following table shows the values for the environment block.

Value Name Description
DWORD ExpandMode Applies to environment string array.
DWORD Action 0 = Replace

1 = Merge

DWORD ArraySize Environment string array size. Specifies number of environment strings.
STRING   Environment strings, comma delimited.

Example

The following example shows typical use.

0,1,2,EnvVar1=EnvValue1,EnvVar2=EnvValue2

See Also

Constants

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.