Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make work text search in files

WinXP Tips

How to make work text search in files

by  Targol  Posted    (Edited  )
When you want to search all files containing a certain word or phrase, sometimes, no result comes even if you're sure that at least on file match your search criterias.
This is due to filtering : in XP, to avoid too many uninteresting files to "pollute" your results, file extension must have been flagged in order to being searched.

So if your .java, .jsp, .bas, .cls , etc... aren't searched and you want them to be, follow this (Beware : this tip only work with plain text files) :

Add a PersistentHandler key under the file type key in HKEY_CLASSES_ROOT and set its (Default) string value name to the following value:
{5e941d80-bf96-11cd-b579-08002b30bfeb}
[color red]WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.[/color]

For example, to use the text filter provider for .zzz files, the following registry setting should exist:
HKEY_CLASSES_ROOT\.zzz\PersistentHandler\(Default) = {5e941d80-bf96-11cd-b579-08002b30bfeb}
After you add this value to the registry, you must log off and then log back on to make the change take effect.

For more informations see : http://support.microsoft.com/default.aspx?scid=KB;EN-US;q309173&

NOTE : there are also known problems with this tool in the original release of XP that have been corrected by SP1 (download at : http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/default.asp)
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top