title: Printing value of multiple variable expression in Windows Batch Files
body: <p>So I'm trying to print out the value of a variable in the form of (variable.variable). I can't figure out how to do it. The closest thing I got was:</p>
  
  <pre><code>echo %"%Dog.Index%"%
  </code></pre>
  
  <p>Which just printed out:</p>
  
  <pre><code>Dog.Index
  </code></pre>
  
  <p>And then I tried to add another set of % tags and that printed out:</p>
  
  <pre><code>%""%
  </code></pre>
  
  <p>Any help would be great! Thanks. </p>
  
  <p>(EDITED)</p>
  
  <p>I'm trying to basically make an array-like variable. So I want the value of Dog.1, Dog.2, Dog.3 printed out and assign them as such:</p>
  
  <pre><code>set Dog.%index%=(Value)
  </code></pre>
  
  <p>And %index% is just a counter that I increment.
  Trying "%Dog.index%" does not work, neither does %Dog%.%index%
  Thanks again.</p>