title: cmd loop and output subfolder location
body: <p>Can anyone tell me how to set up a .bat file that would do the following in windows:</p>
  
  <p>let's say I have: c:\somefolder\ from which I run dostuff.bat which then prints the full addresses of the subfolders in  c:\somefolder\</p>
  
  <p>e.g.:</p>
  
  <pre><code>c:\somefolder\sub1\subsub1\
  c:\somefolder\sub1\subsub2\
  c:\somefolder\sub1\subsub3\
  c:\somefolder\sub2\subsub1\
  ...
  ...
  </code></pre>
  
  <p>It only needs to go two levels down, if that helps.</p>
  
  <p>Thanks<br>
  Karl</p>