Friday, May 30, 2008
Searching for word or phrase in a file using Windows XP Search tool
I'm working on a Plone product and wanted to reference some existing product wherein I needed to search for a particular word in a file because I cannot remenber where it is. Im using Windows XP and it has a search tool wherein I can search for files that contains word by using the "A word or phrase in the file" search criteria, when I look for a word inside a .py file it doesn't show any results and I've noticed that it only works for .txt files only, googling around I've discovered that Windows XP search tool is using a filter component and a valid filter component must be registered for the .py file type in order for my to search word in a .py file, this behavior is to enhance the performance of searching and avoid irrelevant results, but where can I find the appropriate filter component for my python files? Is there a way I can set Windows XP search tool to search all files just like Windows 2000 wherein all files are searched for the content type I specify? Luckily there is a way, I've found it on Microsoft support website http://support.microsoft.com/kb/309173, method #2 works for me.
Subscribe to:
Post Comments (Atom)
that's nice
ReplyDelete