title: Paths with spaces and wildcards
body: <p>I have this command line for loop</p>
  
  <pre><code>for /d %f in ("C:\Documents and Settings\Moi\Desktop\New Folder\*") do rmdir %f
  </code></pre>
  
  <p>It appears to be correct but it breaks up the path anyways even with the double quotes. I've tried using the hex equivalent (0x22) and that did not help either. Is there another way to handle paths with spaces in them?</p>
  
  <p>If I simply try</p>
  
  <pre><code>for /d %f in ("C:\Documents and Settings\Moi\Desktop\New Folder\New Folder") do rmdir %f
  </code></pre>
  
  <p>It keeps the whole string but as soon as I add the wildcard it breaks the path up. The overall goal is to delete all the folders in this folder without deleting the folder itself.</p>
  
  <p>Note:These are just test folders while trying to solve this problem, the real folders could be named anything.</p>