Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: ordered directory


From   "Feiveson, Alan H. (JSC-SK311)" <[email protected]>
To   <[email protected]>
Subject   st: ordered directory
Date   Wed, 26 Sep 2007 08:46:55 -0500

Hello - Is it possible to obtain an ordered directory of files from
within Stata? For example in Windows using a command prompt, one can
type 

   dir *.dta /o:d

to get a listing of files in order of modification date.

Apparently the -dir- comand in Stata does not take any sort options. 

Also, typing 

   !dir *.dta /o:d

is useless because the output immediately disappears from the screen.

Any other suggestions to accomplish this within Stata?

Thanks

Al Feiveson

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index