title: %%I in windows batch doesn't manage name with spaces
body: <p>In windows 10, I need to make a batch with a loop on the subfolder names in a folder, I did the following, but the problem is the %%I doesn't manage the folder name with spaces, it takes only the first part:</p>
  
  <pre><code>@echo off
  FOR /F %%I IN ('dir /b C:\Users\Thomas\Music') DO (
      ECHO %%I)
  </code></pre>
  
  <p>If the folder "Music" contains the folder "My music", then echo %%I will print only "My".</p>