John Savill
December 5th 03, 01:39 AM
From the Windows FAQ (http://www.ntfaq.com)
Q. How can I enable a certain file extension to be
included in a file system search?
A. To avoid misleading results the Windows XP Index
service filters which files are included when you perform
a text search ("A word or phrase in the file:" search
option), this means you can search for a phrase which you
know exists but no result is returned. This is because
the file type the phrase is contained within is not one
which XP includes in the search. To add a file type to be
included by searching perform the following:
Start the registry editor (regedit.exe)
Move to HKEY_CLASSES_ROOT\.cxx\PersistentHandler
Look for a subkey for your file type, e.g. .xxx. If it
does not exist create a new key (ensure you include the
period, e.g. .xxx)
Under the file extension create a new key
PersistentHandler (Edit - New - Key)
Move to the PersistentHandler key and double click the
(Default) value
Set to "{5e941d80-bf96-11cd-b579-08002b30bfeb}" (don't
include the quotes) and click OK
Restart your computer for the change to take effect
To check which extensions are included you can search for
the {5e941d80-bf96-11cd-b579-08002b30bfeb} value via
regedit, for example on my machine the first files to
have the PersistentHandler value are .asm, .bat and .c.
Likewise if you didn't want a file type included in
results remove its PersistentHandler value and restart
the machine.
The Windows XP Application Compatibility Update dated
October 25 2001 added many file extension types to be
included so if you don't have this update you should
install this first.
Regards,
John
John Savill
http://www.windows2000faq.com
>-----Original Message-----
>After upgrading from Windows NT to Windows XP
>Professional, I lost the capability to find files
>containing certain text. My files have a *.dat
extension.
>When I change my files extension to *.txt the search
works
>fine. Is there a way to add the *.dat extension to a
>collection of extensions to search?
>.
>
Q. How can I enable a certain file extension to be
included in a file system search?
A. To avoid misleading results the Windows XP Index
service filters which files are included when you perform
a text search ("A word or phrase in the file:" search
option), this means you can search for a phrase which you
know exists but no result is returned. This is because
the file type the phrase is contained within is not one
which XP includes in the search. To add a file type to be
included by searching perform the following:
Start the registry editor (regedit.exe)
Move to HKEY_CLASSES_ROOT\.cxx\PersistentHandler
Look for a subkey for your file type, e.g. .xxx. If it
does not exist create a new key (ensure you include the
period, e.g. .xxx)
Under the file extension create a new key
PersistentHandler (Edit - New - Key)
Move to the PersistentHandler key and double click the
(Default) value
Set to "{5e941d80-bf96-11cd-b579-08002b30bfeb}" (don't
include the quotes) and click OK
Restart your computer for the change to take effect
To check which extensions are included you can search for
the {5e941d80-bf96-11cd-b579-08002b30bfeb} value via
regedit, for example on my machine the first files to
have the PersistentHandler value are .asm, .bat and .c.
Likewise if you didn't want a file type included in
results remove its PersistentHandler value and restart
the machine.
The Windows XP Application Compatibility Update dated
October 25 2001 added many file extension types to be
included so if you don't have this update you should
install this first.
Regards,
John
John Savill
http://www.windows2000faq.com
>-----Original Message-----
>After upgrading from Windows NT to Windows XP
>Professional, I lost the capability to find files
>containing certain text. My files have a *.dat
extension.
>When I change my files extension to *.txt the search
works
>fine. Is there a way to add the *.dat extension to a
>collection of extensions to search?
>.
>