Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: searching for files in different subdirectories

From   Marcos Delprato <>
Subject   st: searching for files in different subdirectories
Date   Thu, 5 Jul 2012 22:23:59 +0200

hello statlister:
a basic question. i need to obtain the datafiles with a particular
letter (*ab*.dta). I use the macro definition for file paths and file
local list : dir . files "*ab*" but it only search in the current
directory. i need to search in different sub and subdirectories of the
form dir/subdir1/sudir2 at the same time.  any hints how to do this?
thanks in advance,
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index