title: How to move 10 excel files to 10 different folders created by a batch file
body: <p>I have a <a href="/questions/tagged/batch-file" class="post-tag" title="show questions tagged &#39;batch-file&#39;" rel="tag">batch-file</a> which creates <code>10</code> different folders, e.g. <code>01</code>, <code>02</code>, <code>03</code> etc.</p>
  
  <p>I also have <code>10</code> different Excel files ending with <code>_01</code>, <code>_02</code> etc.</p>
  
  <p>Now I need a batch file to move <code>_01</code> excel file to <code>01</code> folder and rest of the files to folders.</p>
  
  <p>Tried this to create N folders:</p>
  
  <pre><code>@echo off
  for /f %%i in (file.txt) do mkdir %%i
  </code></pre>