Windows Explorer search through .java files

G

Guest

I tried using the Windows explorer search functionality to find .java files
in a folder that contain a particular word. The search returned no results
even though there were files in the folder that contained that word. Under
More Advanced Options/Type of file I selected (All Files and Folders)
although I noticed that the java file type was not in the list of options
under Type of file (although, for instance C++ source file is). Is there a
way I can add the java file type to this list so that explorer will search
through files of this type?
 
T

Torgeir Bakken \(MVP\)

RachelH said:
I tried using the Windows explorer search functionality to find .java files
in a folder that contain a particular word. The search returned no results
even though there were files in the folder that contained that word. Under
More Advanced Options/Type of file I selected (All Files and Folders)
although I noticed that the java file type was not in the list of options
under Type of file (although, for instance C++ source file is). Is there a
way I can add the java file type to this list so that explorer will search
through files of this type?
Hi

WinXP's search function filters out files to search in based on file
extensions (see further below).

Install the free Agent Ransack, it searches for text strings in *all*
types of files, and not just in a selection of "approved" file extensions
as the built-in search does. It's a *much* better search tool as well...

Download it from here:
http://www.mythicsoft.com/agentransack/default.aspx

Agent Ransack can save the search result to a file (or clipboard), as text,
comma separated text or tab separated text. E.g. Excel reads comma separated
text (csv) very well.

When searching for text inside files, Agent Ransack is also able to do a
preview of the lines the text was found in (just do a single click on the
found file).
Also, you can use regular expression on both the file name part and the find
text in files part.


If you still want to use the not so good search tool that comes
with WinXP to search for text in files, take a look at this:

Using the "A Word or Phrase in the File" Search Criterion May Not Work
http://support.microsoft.com/default.aspx?scid=KB;EN-US;309173

Or this:

Add Files to Containing text Searches
http://www.dougknox.com/xp/scripts_desc/xp_fix_search.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top