title: how concatenate two variables in batch script?
body: <p>I want to do something like this in batch script. Please let me know if this is the proper or possible way to do it or any other way?</p>
  
  <pre><code>set var1=A
  
  set var2=B
  
  set AB=hi
  
  set newvar=%var1%%var2%
  
  echo %newvar%  
  </code></pre>
  
  <p>This should produce the value "hi".</p>