How to Output the Value of a Variable within a String
Keywords: ouput string value
Question:
I want to output a the value of a variable stored within a string. For examplevar x = value of x string = "x"I want to get value of x. In other languages there is a function called "eval" or "evaluate". Does winbatch have a similar function?Answer:
x=1234 stringx="x" valuestringx= %stringx% Message(stringx,valuestringx)
Article ID: W14503Filename: Output the Value in a String.txt