The dirhtml index.html generator is described by its author as
Dirhtml builds customizable html files from a folder branch using the gui or command line
Creating a file listing has been one of the oldest and sometimes most discussed implementations for any computer, it is obvious how to and may be even trivial to achieve a list via a search or the CLI (command line interface.)
One tool however, that offers a GUI (graphical user interface) for this task is dirhtml. The program’s options consist of 6 tabs that allow you to customize the input and output in many different and useful ways.
The first tab is called ‘Folders, Files’ and this is where the files or folder(s) the user needs to work on are chosen, those files can be filtered by type, name or even their location in subfolders. This is also the place where the output file template and/or location is chosen.
The second tab is called ‘Miscellaneous’ and offers many options all packed into one page (see below.) Here everything about the output can be customized. The user can choose to include file sizes in the output, change the date format, insert summary statistics and much more.
The third tab is the ‘Sorting’ options one and by comparison it is an empty tab. Two main choices are included here that allow the user to sort the way the files are listed in the output. One is ‘sort by’ where files can be sorted by filename, date, size, extension or random order and the other is ‘sort order’ where ascending, descending and unsorted order are listed. However I have not tried and am not sure how the two can work together, for example what happens if the ‘sort by’ is date and the ‘sort order’ is unsorted?
The fourth tab is ‘Default Words’ and here one can customize and include html tags (such as bold, italic, etc.) for the titles, headings and summary text of the resulting output.
The fifth tab is ‘Recursive’ options and here the user can divide the output. For example the user may want each subfolder worked on and presented separately or perhaps presented in a framed HTML page.
The final tab (see image below) gives the user the control of where the output is launched, what language or font is used and also the option to work with batch files and scripts to automate the process and even further customize every aspect of the resulting output file. Everything from working with alternate rows to using style sheets or validating the output is made possible here. The included help file has examples and a list of tags or words that can be used for the customization.
All in all a very powerful program, dirhtml is now at version v4.832 and is a portable freeware. It runs under NT/2000/XP/Vista and a Windows 98 compatible version is also available at dirhtml.enware.info.