TreeDir is a freeware utility, that allows you to create files(whether text files or dynamic html files) with the tree-style listing of files of the selected directory. Here http://treedir.siteburg.com/Example.html You may find out an example of how it works