Short: V1.00 Create HTML page for dir+sub contents +src Author: mark@kontumnam.freeserve.co.uk (Mark Weller) Uploader: mark kontumnam freeserve co uk (Mark Weller) Type: comm/www Architecture: m68k-amigaos Url: www.kontumnam.freeserve.co.uk LdirHTML -------- This simple program searches a given directory and creates a HTML file 'dir.html' in the given directory - containing a table with file contents and file size. Depending on filetype, the file can be downloaded, viewed ......... The program puts the Date the file was created at the top of the HTML page (dd/mm/yyyy). This is all I wanted for myself - but I have added the following to make the program a bit more useful. The program also creates a HTML file 'sub.html' in the given directory - containing a table of all the subdirectorys. (There is a link inside 'dir.html' to this file) The subdirectory names in the table link to thier own 'dir.html' and so on - creating a tree like effect. -*-Note-*- you have to create the HTML file (using this program) for each directory & subdirectory seperate. You could easy change the source code do a whole harddrive or partition. Usage: ------ This is a cli program or like me set up a button or menu option in Dopus/DirWork (any version) passing the directory name. LdirHTML <-vb> [directoryname] <-vb> Options - v : Verbose - List files (sub dir) being processed. b : use chosen table border size (default size is 0 - no border). - directory to be processed. Examples: --------- LdirHTML -vb Work: 2 This will create HTML page 'dir.html' with a table of 'Work:' files contents with file size's & create HTML page 'sub.html' with a table of 'Work:' subdirectorys - the tables border size will be set to '2'. Files being processed will be displayed on console. LdirHTML Work: Same as above but no table border & no output display to console. I have included the source code with this program - I used Dice to compile it, but should compile using any compiler with some simple changes marked (amiga) . If you find this program or source code useful please e-mail me if not - sorry for wasting your time! -*- Mark Weller -*-