title: Batch create a set of subfolders in several folders
body: <p>My goal is to create a set of folders with identical subfolders. I need one folder for every year since 1881, each year-folder should contain a folder per month, and each month-folder should contain a folder per day.</p>
  
  <p>I have found a tool to create the folders for the years, my challenge now is to populate them with the subfolders. I want to do this on a Windows client computer, preferably without installing anything.</p>
  
  <p>What I have been working on, is using the FOR and MD commands to do the job. Here's the code I have so far:</p>
  
  <pre><code>SET %g=*.*
  FOR /d %var IN %path% DO MKDIR 01 02 03
  </code></pre>
  
  <p>Whenever I run this, I get this error: </p>
  
  <blockquote>
    <p>%path% was unexpected at this time</p>
  </blockquote>
  
  <p>So, that is where I am stuch right now. I'd appreciate any help you can give me!</p>