| "Miller Hughes"
http://www.microsoft.com/communities/privacy.mspx
| wrote in message | The Search utility is not working for certain file
| extensions even though I search for files *.* in a
| directory. An example is I created a .txt file with the
| word 'Match' in it. I run Search looking for 'Match' and
| the file is found. I change the extension on the file
| to .sql, run the same Search and no files are found.
|
| I'm running Windows XP professional, Version 2002 Service
| Pack 1.
The file extension SQL does not have a filter component
registered. Since these files are basically plain text files you
can use the text filter provider for the file type.
One way to do this is to manually edit the registry.
Specifically, add a PersistentHandler key under the file
type key in:
HKEY_CLASSES_ROOT\.sql
Then set its (Default) string value name to the following value:
{5e941d80-bf96-11cd-b579-08002b30bfeb}
For more information see the following Microsoft Knowledge Base
article:
KB309173 - Using the "A Word or Phrase in the File" Search
Criterion May Not Work
http://support.microsoft.com/default.aspx?Product=winxp&scid=kb;en-us;309173
And for an example find and look at the file extension .txt found
HKEY_CLASSES_ROOT\.txt
WARNING: Changing or deleting registry entries may cause
serious problems that may require you to reinstall your operating
system. Before you run the Registry Editor I recommend that you
understand how to backup, edit and restore the registry.
In particular, I suggest that you read the following KB322756
article section titled "Export Registry Keys" and then, before
you edit the registry export the keys that you plan to edit. For
more information see the following Microsoft Knowledge Base
Article.
KB322756 - HOW TO: Back Up, Edit, and Restore the
Registry in Windows XP and Windows Server
http://support.microsoft.com/default.aspx?Product=winxp&scid=kb;en-us;322756
Windows Registry Guide - Windows Registry FAQ
http://www.winguides.com/article.php?id=1&guide=registry