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
Related Posts with Is there a way (portable between operating environments) for accessing file attributes in Stata?
deal with errors in panel dataHi! I am doing a research on the impact of dividend policy on the investors' rate of return. Now I h…
Confusion about FE and DIDHello everyone, this is my first post here so please excuse me if the formatting is not great yet. I…
Recoding into an existing variableHello, I am trying to add text responses to an existing variable. I have a variable Q33_20_TEXT th…
3 Level Hierarchical Models in STATA; Null model failed to convergeAbout the Dataset I am working with DHS (Demographic and Health Survey Data) data. DHS uses a two-s…
plotting interaction after XTSCC commandHow do I plot interactions after the XTSCC command? …
Subscribe to:
Post Comments (Atom)
0 Response to Is there a way (portable between operating environments) for accessing file attributes in Stata?
Post a Comment