8

I'm looking for a simple windows tool that is able to go over all the files in a tree of directories and perform a full text search on all the files.
I simply don't trust the Vista search because it seems to be picky on which files it opens and it doesn't match partial words.
Anyone got a good suggestion?

2
  • 3
    Silly full text search?
    – arathorn
    Commented Jul 21, 2009 at 0:58
  • @arathorn: You might be surprised at what some people do with their computers. ;-D Commented Aug 23, 2011 at 22:11

7 Answers 7

11

I've used Agent Ransack for years and highly recommend it.

1
  • Holy frijole, I can't believe I used windows without Agent Ransack for so many years. Thanks for this tip!
    – mtyson
    Commented Nov 20, 2012 at 21:08
4

BareGrep does live, as you type search, and shows the context that matched. I've used AgentRansack too, but I really like the live search.

BareGrep screenshot

3

findstr:

findstr /s "foo" *
3

I use the free, open source FAR Manager for this:

  FAR Manager
  http://www.farmanager.com/

It's a native Windows application (32-bit and 64-bit versions are available) that uses text mode.

When you are using FAR Manager, use these keystrokes to get to the file searching feature after navigating to the desired path:

  1. Alt-F7 (to bring up the "Find File" dialogue)
  2. Fill in the desired criteria (text string, code page, plus some other options)
  3. Choose "Search Area" (defaults to current directory)
  4. Press "Enter" to start the search

Here's a screenshot: enter image description here

3

If you're looking for a command-line program, try the built-in "findstr" command. It was recommended at https://stackoverflow.com/questions/87350/what-are-good-grep-tool-for-windows

I use it as my "windows grep" command since I don't have to download or install anything.

Documentation and examples for "findstr" are available at http://technet.microsoft.com/en-us/library/bb490907.aspx

Use /s to search all sub-directories. Here's the official example from technet for your finding a string in all files in a directory and all sub-directories:

To search every file in the current directory and all subdirectories that contained the word Windows, regardless of the letter case, type the following:

findstr /s /i Windows *.*
0

This seems like a solid program that can accomplish what you're asking for.

0

I believe Windows 7's explorer will do this with its search box, but if that doesn't work...

Try http://www.wingrep.com/

1
  • 1
    I tried using Windows 7's built in search. However, it did not work in my case because I am searching non-standard text files.
    – Ryan R
    Commented Apr 26, 2011 at 17:31

Not the answer you're looking for? Browse other questions tagged .