It will scan folders and their containing sub-folders.
When reproducing the code, make sure to include the 'imports system' and 'imports system.io' headers or it will not recognize the functions.
This demo uses html, dhtml and vbscript to create a dynamic table. It's in *.hta format, download and open in text editor to view the source code. Usage - Press d-click to open the file.