**************
cap ssc inst fs
qui fs *dta
di `r(files)'
**************
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ashim Kapoor
Sent: Wednesday, August 27, 2008 10:06 AM
To: [email protected]
Subject: st: A query on reading all files in this current directory.
Hello everyone,
I wish to run a loop on ALL data files in the current directory. Is
there a command with which I can gather I can gather the list of all
datafiles in the current directory in a local macro variable?
Thank you all for your time,
Ashim. : )
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/