title: Unable to use a set variable in batch file
body: <p>Hi
  I have this code in my batch file</p>
  
  <pre><code>set destpath = "C:\"
  
  copy help.txt %destpath%
  
  pause
  </code></pre>
  
  <p>But I see that the command that gets executed while running the batch file is </p>
  
  <pre><code>copy help.txt
  </code></pre>
  
  <p>The batch file is not recognizing the 'destpath' variable at all. What could be the issue here?</p>