Word/phrase search skips SGML-documents?

G

Guest

Fascinating....

Just tried to search through a network folder of files, all of them SGML,
which contain a specific word, let's say, "CAT". And I just happen to know
that there are such files present in that folder.

Ok, I click to search mode with Windows Explorer and type in the the search
word "CAT". The result is "Search complete. There are no results to display."
Wait a second. I just KNOW there should be results.

Next thing I try is I create a text document, which contains the very same
word. The search no problem locating this one. Hmmm...let's just open one of
the SGML-files with notepad and see. Yeah, I was right - there are a number
of "CATs" on clear ASCII. It's as if the Explorer would skip the SGML(SGM)
-files completely!

Ideas, anyone?
-Andy
XP SP2
 
T

Torgeir Bakken \(MVP\)

Hi,

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

and

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


An alternative is to use a 3rd party search tool (free ):

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. In my opinion it is a 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.
 
G

Guest

Thanks!

That pretty much explains the whole thing. Once again the superior system
tries to outsmart the user who knows what he wants ;) Amazing that even
though they knew the problem they didn't fix the filter all the way but just
for some file formats.
 

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