Hello All. The following has been bugging me ((based on my extensive experience of creating webs pages using Stata). Is there a wayy (inside Stata) of accessing file creation dates and/or sizes based on the filename? (I have looked in the Stata and Mata manuals and found most things except for this.)

My reason for wanting to do this is that I woud like to output a list of .htm files together with an index document, containing hypertext to the other documents. In this commonly-encountered scenario, I would like to be able to order a xd ir resultsset of .htm fies (created by my xdir package which I plan to present at the 2020 Stata conference) in ascending order of file creation date, and to tabulate the filenames in the order in which they were created.

Is there a way of doing this? Or do I have to update my htmlutil package (downloadable from SSC) to output HTML files containing comments specifying the times of opeming an closing of an HTML document?

Best wishes (and thanks in advance)

Roger