Skip to content
class method

Win32::Registry.expand_environ

expand_environ(str)

Replace %-enclosed substrings in str into the environment value of what is contained between the %s. This method is used for REG_EXPAND_SZ.

For detail, see ExpandEnvironmentStrings Win32 API.

See also .create .open .time2wtime also in 3.4 · 3.3 · 3.2 · 3.1 · 3.0