Dirhtml will create index.html files from a directory list using the GUI or command line, optionally including HTML code of…