Expands environment-variable strings to their defined values and returns the result string.
obj.ExpandEnvironmentStrings(Instring string) where obj is an OpScrUtil.Utility object
Instring
|
Specifies the name of the environment variable to be expanded. |
Boolean
To get expanded environment
variable
, enter:
Set obj = CreateObject("OpScrUtil.Utility") bOK = obj.ExpandEnvironmentStrings()
This example shows how to expand environment variable strings to their defined values.