Get value from a nested variable

Hi,
Imagine the following:

String "test", put it in a variable with the name 'A'

Put variable A into another variable named 'B'

How can you get the String value through variable 'B' in a VBscript, with command:
Wscript.Echo B

(Problem is that it says "%A%" instead of the String "test")

Thx

Ah already found it, you can do it via:

Wscript.Echo Action.ExpandExpression(B)

Thx anyway

Hi

WScript.Echo is really just an alias for Action.SendLogMessage to make it easier to use scripts that were intended to work under wscript. Action.SendLogMessage allows you to specify a status type such as information, warning or error which affects how the value is shown in the log.