|
Previous Top Next |
Prototype: | (String pEnvVar), String |
pEnvVar | The Environment variable to retrieve. |
Returns | String with the value of the environment variable |
Use this method to get the value of a single environment variable.
Example:
ITS ITShellClass
Loc:Path CString(10000)
Code
Loc:Path = ITS.GetEnvVar('PATH')
ITS.SearchReplace(';',';<13,10>',Loc:Path)
Message('PATH = ' & Loc:Path)
This results in a message like this one:
See also:
http://msdn.microsoft.com/en-us/library/ms683188(VS.85).aspx