Windows Search issue

A

ALev

I noticed something rather bizarre/annoying with the Windows Search feature
(i.e. Start, Search). I was looking for a string in all files in a folder.
The string was contained in a file called "blah.cc" in that folder. The
search came up empty. Then I changed the file name to "blah.cpp" and the
search found it. It definitely says that it is searching "All Files and
Folders", so it should not only search files with particular extensions,
right? So, what is the explanation for this?
 
T

Terry R.

The date and time was Wednesday, May 06, 2009 3:44:10 PM, and on a whim,
ALev pounded out on the keyboard:
I noticed something rather bizarre/annoying with the Windows Search feature
(i.e. Start, Search). I was looking for a string in all files in a folder.
The string was contained in a file called "blah.cc" in that folder. The
search came up empty. Then I changed the file name to "blah.cpp" and the
search found it. It definitely says that it is searching "All Files and
Folders", so it should not only search files with particular extensions,
right? So, what is the explanation for this?

You'll have to explain this more clearly. Since you have a period in
the string, it could be looking for specific file extensions, not a
string within a filename.


Terry R.
 
R

Ron Badour

That can happen if you do not have search's advanced options checked and
possibly the first three items checked also. I gave up on XP search quit a
while ago because I did not always get what I was searching for. Agent
Ransack is fast and accurate and also FREE.
http://www.mythicsoft.com/agentransack/download.aspx

--
Regards

Ron Badour
MS MVP
Windows Desktop Experience
 
A

ALev

Sorry, maybe my last post was a little too terse. The string I was searching
for was "dijkstra". I know that this string is contained in the file
"blah.cc". However, Windows Search does not find it. When I change the name
of the file, *without doing anything else,* to "blah.cpp", Windows Search
finds it. When I expand the "More Advanced Options", it says "Type of file:"
and then there is a drop box below that. The drop box says "(All Files and
Folders)". But obviously, it is not searching in all files. And I am trying
to find out why...
 
R

Randem

That is a known Windows Search "Feature"... What you need to do is to go
into the registry under HKEY_CLASSES_ROOT go to the extention you want to be
searched and add the key PerceivedType od REG_SZ and a value of text.
Windows will basically not search any extention not marked as text. All
files and folder does not REALLY mean all files and folders.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
Disk Read Error Press Ctl+Alt+Del to Restart
http://www.randem.com/discus/messages/9402/9406.html?1236319938
 
P

PA Bear [MS MVP]

Now try searching on " *dijkstra* " (w/out the quotes but w/the asterisks).
 
H

HeyBub

ALev said:
I noticed something rather bizarre/annoying with the Windows Search
feature (i.e. Start, Search). I was looking for a string in all files
in a folder. The string was contained in a file called "blah.cc" in
that folder. The search came up empty. Then I changed the file name
to "blah.cpp" and the search found it. It definitely says that it is
searching "All Files and Folders", so it should not only search files
with particular extensions, right? So, what is the explanation for
this?

Who knows? Windows' search is double-weird.

Try "Agent Ransack" as a replacement for Windows' Search.
 
T

Terry R.

The date and time was Wednesday, May 06, 2009 6:32:22 PM, and on a whim,
PA Bear [MS MVP] pounded out on the keyboard:
Now try searching on " *dijkstra* " (w/out the quotes but w/the asterisks).

Since asterisks are interpreted to bold the text in most newsreaders,
you'd have to put double asterisks in order to see it. All I see is
" dijkstra " with the word in bold. Let's see if this works better
using double asterisks;

Now try searching on " **dijkstra** " (w/out the quotes but w/the
asterisks).


Terry R.
 
R

Randem

That is a known Windows Search "Feature"... What you need to do is to go
into the registry under HKEY_CLASSES_ROOT go to the extention you want to be
searched and add the key PerceivedType od REG_SZ and a value of text.
Windows will basically not search any extention not marked as text. All
files and folder does not REALLY mean all files and folders.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
Disk Read Error Press Ctl+Alt+Del to Restart
http://www.randem.com/discus/messages/9402/9406.html?1236319938
 

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