title: VB6: easy way to get folder name from filepath
body: <p>If I have the full path of a file:</p>
  
  <pre><code>eg. c:\files\file.txt
  </code></pre>
  
  <p>What would be the easiest way to get the folder of this file:  <code>eg. c:\files\</code>   ?</p>