In addition to Michael Blasnik's suggestions, which are key,
I suggest that you check out -fs- from SSC.
At bottom it's just a wrapper for macrolist commands like
local files : dir . files "*.dta"
but it may be a smidgen easier to use.
More importantly, it can take multiple
file specifications.
Nick
[email protected]
Friedrich Huebler
>
>
> I would like to automate the processing of some data files. First, I
> create a macro that contains a list of all data files. Then I try to
> exlude one or more files from the list.
*
* 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/