Search within files using Microsoft Windows
Thanks for visiting! We would like to serve you better. Please subscribe to our RSS feed for daily updates. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. You can also receive updates from this blog via email if you want that method of notification.
I have used a bunch of tools over the years to try to search within files, folder and drives, but have yet to find something that works everywhere and in every case.
Lately, I have been using the Windows search tool (the one that comes default with the OS) with some success. So if you are on a Windows Platform, create an import.reg file with the following in it (where .phps is replaced with the extension of files you would like to search inside, such as .cfm .php or .xml). Multiple ones can be added by making copies of the registry key and replacing the extension.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.phps\PersistentHandler]
@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”
Save, double click, say yes, reboot and voila, now it searches inside those files for you.
One little tip, try to edit with the default Windows editor or Notepad to get the best results.


(5 votes, average: 4.4 out of 5)











Comments RSS
not to be too geeky, but grep + find under cygwin is cool as well to use if you got all the options that needs to be put on the command line in your brain.
[Reply] Chmouel (3 comments.) — 07/28/2004 @ 12:58 pmThanks for this !
[Reply] Podz (12 comments.) — 07/28/2004 @ 1:31 pmYou wouldn’t happen to know of a reliable tool that can do search and replace inside a zipped file would you ?
Thanks so much! I’ve been trying for the longest to search through a mass of VB code.
[Reply] blumagic29@yahoo.com — 07/18/2006 @ 4:11 pm