title: How to set a variable equal to the contents of another variable?
body: <p>In the following (simplified example) batch file I am having difficulty correctly setting <code>Y</code>:</p>
  
  <pre><code>@Echo off
  setlocalenabledelayed Expansion
  set EqS=Nope
  set X=Eq
  set Y=%X%S 
  echo Y
  </code></pre>
  
  <p>How can I get the output of this script to be <code>Nope</code> instead of <code>EqS</code>?</p>