win32api.ExpandEnvironmentStrings

string = ExpandEnvironmentStrings(in)

Expands environment-variable strings and replaces them with their defined values.

Parameters

in : string

String to expand

Win32 API References

Search for ExpandEnvironmentStrings at msdn, google or google groups.