Doug Reilly's Weblog

Embedded Reporting of the Information Age...

Bitten by the Windows Explorer Search Bug (err, "Feature") again.

I should have known.

I was at an important client meeting yesterday, and we got into a discussion over what was there and not there in a two sets of text files.  The first set was given to me perhaps a couple of months ago, and contained way more data than I needed, as well as duplicates.  The other set of files was given to me within the last couple of weeks.  I was insistant that certain names and numbers that were present in the first set of files were not in the second set, based upon my use of Windows Explorer search.  Of course, there was only one problem:  Explorer was not really searching the second set of files, since they were given to me with a .DAT extension rather than the .TXT extension that the first set had been.  Explorer does not search files with an extension that is not registered.  Here you can fix this "feature".  I looked rather silly, I fear, when I had to sheepishly admit I had been bitten by this (again).

This default behavior should be fixed. At least a message should be prominently displayed when you ask Windows to search for *.dat files for a given bit of text, and Windows knows that it will not search those files.

Yes, at some level I know about this, and have patched other installs of Windows to search correctly, but this machine had been recently repaved, and I simply did not think about the different extension on the second set of files.


Comments (Ramon 'Exyll' Smits) said:

Did you know that you can easily change this option through the indexing service setting??

Open search
Select advanced settings
Select the indexingservice settings

This will open an MMC with the indexingservice snapin.

Select the properties at root level and there you can change this registry key without changing the registry by hand.

This is the same as wanting to show extensions, hidden and system files and the detail view when you login as administrator. It is very frustrating to change these view settings time after time.
# December 30, 2004 10:47 AM

Douglas Reilly said:

Actually, I see nothing related to IndexingService settings in the Advanced Settings... Perhaps I do not have indexing service running.
# December 30, 2004 10:51 AM

PeterM said:

Does anyone know if Microsoft know (or even care) about the myriad of failings in explorer.exe (probably one of the flakiest bits of Microsoft code ever.)
# September 13, 2006 8:51 AM