title: JavaScript - extract folder names
body: <p>I'm fairly new to JavaScript. </p>
  
  <p>Given a local machine's folder path (Windows), I was wondering how you can extract the names of all the possible folders in the current path, without the knowledge of how many folders there are or what they are called.</p>
  
  <p>Thank you very much in advance.</p>