can't do text searches

  • Thread starter Thread starter Russ
  • Start date Start date
R

Russ

In all previous versions of Windows, I could do text
searches within files. Under XP, it seems like it will
only do text searches within files with Microsoft-
approved file types such as .doc. Mircrosoft knowledge
base article 309447 seems to indicate that this is
deliberate. Is this true?

suppose I have 4000 text files in one directory all with
names ending .sas. I want to search them all for the
word 'array' in the document, not just in the title. Is
this no longer possible in Windows?
 
Russ said:
In all previous versions of Windows, I could do text
searches within files. Under XP, it seems like it will
only do text searches within files with Microsoft-
approved file types such as .doc. Mircrosoft knowledge
base article 309447 seems to indicate that this is
deliberate. Is this true?

suppose I have 4000 text files in one directory all with
names ending .sas.

It only searches for text in a very limited number of types - they must
either have registry entries saying they are pure Text (.TXT and not
much else) or have known ;filters' to handle embedded format controls,
so that Search can avoid being confused by thinking those are characters
in 16 bit Unicode (eg .doc, .htm). You can add an additional type as
pure text provided you know that it *is* that, and that it does not
already have a 'PersistentHandler' in the registry. Make the following,
after - - start and before - - end into a file by cut/paste to NotePad.
Make sure there is a blank line at the end. Save as "Patch.reg" then
d-click on this file to enter it into the registry.

- - start
REGEDIT4

[HKEY_CLASSES_ROOT\.sas\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"


- - end
 
Back
Top