|I hope someone can help me with this, as I've been looking all over and cannot find a solution to what I'm sure is an easy problem!|
I have a batch file that defines a number of target variables, e.g.:
There is also a numeric variable ("num"), that is used to make the "activetarget" variable:
This results in a variable that looks like:
However, what I actually need to achieve is:
In this example, how can I set the VALUE of "activetarget" to be the current VALUE (not the name!) of the "target1" variable??
Thanks in advance!