Searching for words in a file does not search all file types.

K

Kenneth Baltrinic

I am trying to use win xp to search through a directory tree of VB6 code
files to find the definition of a particular constant. (Don't worry about
the details, the botom line is I am looking for a file containing the text
"Public Const swUserMode"). But the search apparenty only looks at known
text type files like .doc, .txt, .rtf, etc. It is ignoring all my files
which have .cls and .mod extentions. I have tested this by searching for a
piece of text I new existed in lots of file ("the"). All that came up were
..doc and .htm etc. I renamed a .cls file containing the word to a .txt file
and suddently it appears in the results. Rename it back and it disapears.

How do I add to the list of file types that the system will search through?

--Ken
 
P

Parish

Kenneth said:
I am trying to use win xp to search through a directory tree of VB6 code
files to find the definition of a particular constant. (Don't worry about
the details, the botom line is I am looking for a file containing the text
"Public Const swUserMode"). But the search apparenty only looks at known
text type files like .doc, .txt, .rtf, etc. It is ignoring all my files
which have .cls and .mod extentions. I have tested this by searching for a
piece of text I new existed in lots of file ("the"). All that came up were
.doc and .htm etc. I renamed a .cls file containing the word to a .txt file
and suddently it appears in the results. Rename it back and it disapears.

How do I add to the list of file types that the system will search through?

One of the bizarre 'by design' features of XP[1]. See
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q309447
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q309173

HTH

Regards,

Parish

[1] The other being "numeric" sorting of filenames in Explorer.
Fortunately, MS got enough shit about this one that they added a reg key
in SP1 to enable the old (traditional) behaviour.
 
R

roger

Hi Kenneth,

Go to Windows Explorer, Tools > Folder options > File types
type the extensions in question (if they do not appear click on
'new'), put notepad as the program you want to open them with. If
there is any trouble with the extensions you can go back to this same
place and click on restore, and it will restore the default
associations.

More info:

Why doesn't Search work?
http://www.kellys-korner-xp.com/top10faqs.htm

Troubleshooting Search Issues in Windows XP
http://www.kellys-korner-xp.com/xp_s.htm#search

Windows XP Search Problems
http://www.dougknox.com/xp/tips/xp_search_probs.htm


Good luck



Good luckOn Wed, 18 Feb 2004 12:10:07 -0500, "Kenneth Baltrinic"
 

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