Hi everyone,
I apologize if this has been answered previously - I couldn't find it
via any searches I tried. [I'm also reposting this, as I'm not sure it
went through successfully yesterday.]
I'm trying to obtain the date of a text file. Actually, I need to
compare the dates of two text files to confirm that one is newer than
the other before I run a program. I'll be doing this for hundreds of
subdirectories, so automating would be very useful. I know Stata can
obtain the contents of a directory (using an extended macro function)
but all I've been able to get from that are file names and directory
names. Am I missing something with that function, or is there another
easy way to obtain this information? Thanks for any insights!
Dave
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/