Environment: ExpandEnvironmentVariables |
Replaces environment tags within a string with the actual values.
Public Function ExpandEnvironmentVariables( ByRef Name As String ) As String
The environment variables are tagged using %. A string such as My OS is %OS%.' would become 'My OS is Windows_NT.' for NT machines.