List all Layer Files in a directory which reference a specific Feature Class?

Discussion created by MLF on Oct 20, 2011
Latest reply on Oct 20, 2011 by storercd
Good morning! We have changed our data to allow temporal tracking, which means that all shared layer files which reference our ROADS feature class require the addition of  AND "RECORD_STATUS" = 5 to their definition query.  We have a couple hundred layer files in lots of folders; I can't be certain which ones reference this feature class.  How can I write a python script to comb through the directory and return all layer files which reference the ROADS feature class?  Thanks!