Text searching files with known extensions
Posted by davidnewcomb on 25 Jan 2011 in Techie
A while ago I wrote a blog article about Searching file contents under Windows XP. I was wondering why my searches of Visual Studio Project files with the extensions .vsproj, .vsprops and .sln files were coming back with no results. I read my previous article and noticed that it said “Index files with unknown extensions” and these files were known extensions. So this is another candidate for the Switching off Windows XP “features”.
There is a Microsoft Knowledge base article about this but both the solutions are inadequate. According to them you have to set a PersistentHandler for each known file extension that you want to search. A bit of playing and I figured out that if you set the PersistentHandler of the extension “*” then it becomes the default searcher.
So here is what you do:
- From the start menu, select Run and type
regedit
- Navigate to:
HKEY_CLASSES_ROOT\*
- Right click on the “*” folder and select New->Key
- When the folder appears set the name to PersistentHandler.
- In the right hand pane edit the (Default) data to {5e941d80-bf96-11cd-b579-08002b30bfeb}
- Click Ok
No feedback yet
Form is loading...