title: How to grab the names of all sub-folders in a batch script?
body: <p>I just want to know how can I get all the names of the folders in a current directory. For example in my current directory I have three folders:</p>
  
  <pre>
  stackoverflow
  reddit
  codinghorror
  </pre>
  
  <p>Then when I execute my batch script all the three folders will print in the screen.</p>
  
  <p>How can I achieve this?</p>