Use the Search Preferences dialog box to specify resources that you do not want indexed. These resources can include directories, patterns, mail folders, or types of objects.
Click +++.
Click the tab.
Click in the section.
Select a resource to exclude from indexing, then specify the path to the resource or filename pattern.
Click twice.