Searching for feature classes using Python script

Discussion created by khighlan on Mar 8, 2011
Latest reply on Mar 18, 2011 by jbarrette-esristaff
Hi all,

I'm wondering if it's at all possible to create a python script that can search for a particular feature classe in all mxds within a folder and all its subfolders. I would also like it to create an output .txt report similar to what does, but it would create a list of mxds that contain just the specified feature class.

For example, if I specify "Transmission_Main" as the feature class and "T:\\Maps\" as the folder path, it would create a list of all mxds within "T:\\Maps\" that contain the "Transmission_Main" feature class.

I'm very new to Python, and any thoughts or clues to put me in the right direction would be greatly appreciated.