7/28/2004 ↓

Search within files using Microsoft Windows

Author: Mark Ghosh Category: Cool Scripts

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.

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 4.4 out of 5)
Loading ... Loading ...

Visitors who read this post, also read:

    Friends

    Translate

    Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

    Latest Videos

    3 Comments | Leave a comment | Comments RSS

    1. 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 pm
    2. Thanks for this !
      You wouldn’t happen to know of a reliable tool that can do search and replace inside a zipped file would you ?

      [Reply] Podz (12 comments.) — 07/28/2004 @ 1:31 pm
    3. 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

    Leave a comment

    Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    (required)

    (required, will not be published)


    S2