title: Batch path variable with space - how to escape the double quotes?
body: <p>I'm setting a variable with this directory</p>
  
  <pre><code>C:\My dir\Sub dir\Folder with a lot of spaces\file.html
  </code></pre>
  
  <p>like this:</p>
  
  <pre><code>SET location="C:\My dir\Sub dir\Folder with a lot of spaces\file.html"
  </code></pre>
  
  <p>The problem is, when I echo <code>%location%</code> it comes with both double quotes. I've tried to remove using this:</p>
  
  <pre><code>set location=%location:"=\"%
  </code></pre>
  
  <p>But it does not work. I've searched a lot and I can't find an easy and simple solution. I'm using Windows 8.</p>