Printing folder contents to a HTML file is much better because it allows coloring, tables, and hyperlink. Dirhtml is a freeware that creates HTML files from a directory list using the graphical user interface or command line, optionally including HTML code of your own design at any point in generated files.
Dirhtml doesn’t require any installation, just download extract and run the executable. On the program you can set the folder that you want to print, file extensions that you want to include, filenames to include or exclude, folders inclusion and exclusion, and finally the most impressive of all, script files that determines the design of the HTML. Currently there are 28 script templates including ones that is digg like.
Download Dirhtml Here