title: DOS Batch file - Need help to reading a text file to create a folder then two sub folders in the that folder
body: <pre><code>for /F "tokens=*" %* in (C:\Test.txt) do (md "C:\TEMP\%*" || cd "C:\TEMP\%*" || md "Computer" || md "Email")
  </code></pre>
  
  <p>With this command I can create the one folder per name in test.txt but it won't let me create the subfolders.</p>
  
  <p>Ideally it would create folder <em>Smith</em> then every folder would get two identical subfolders  <em>Car</em> and <em>House</em>.</p>
  
  <p>Thanks for any help.</p>