VBS расширяет env var
Set oShell = CreateObject("WScript.Shell")
value = oShell.ExpandEnvironmentStrings("%my_env_variable%")
WScript.Echo value
garzj
Set oShell = CreateObject("WScript.Shell")
value = oShell.ExpandEnvironmentStrings("%my_env_variable%")
WScript.Echo value