title: How do I get a list of folders and sub folders without the files?
body: <p>I am trying to print a list of the <strong><em>folders</em></strong> and <strong><em>sub folders</em></strong> of a directory to a file.</p>
  
  <p>When I run <strong><code>dir /s/b/o:n &gt; f.txt</code></strong>, I get a list of the files also. I only need the folders and  sub folders.</p>
  
  <p>Anyone know is this possible to do this from command line interface?</p>