XP Search Companion - "A word or phrase in the file: "

D

David

The current search companion does not return results for
files with an extension of .magik when searching for a
specified word. I can rename the file from .magik
to .txt and the appropriate file(s) are identified and
returned.

The .magik extension is required for an application and
there are hundreds of files to search, so renaming all of
the files is not an option.
 
R

Ramesh [MVP]

David,

Follow this advice and create a PersistentHandler for that filetype. Use {5e941d80-bf96-11cd-b579-08002b30bfeb}, if and only if it is a plain-text file. For other HTML based files, the search filter will vary.

Windows® XP - Search Problems - Containing Text:
http://www.dougknox.com/xp/tips/xp_bad_search.htm

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

The current search companion does not return results for
files with an extension of .magik when searching for a
specified word. I can rename the file from .magik
to .txt and the appropriate file(s) are identified and
returned.

The .magik extension is required for an application and
there are hundreds of files to search, so renaming all of
the files is not an option.
 
G

Guest

David, try using global parameters to do a search with odd file extensions:
i.e. filename.mag?? or *.mag??
Global symbols are: * or ?
 
D

David

Ramesh,

Maholo!!!! Your advise works as expected.

This has been frustrating me since XP came out. I
continually used a Remote Desktop Connection to a Windows
2000 server and would perform file searches (grep) from
there but when I'm away from the office this was not
possible.

Thanks again!
-----Original Message-----
David,

Follow this advice and create a PersistentHandler for
that filetype. Use {5e941d80-bf96-11cd-b579-
08002b30bfeb}, if and only if it is a plain-text file.
For other HTML based files, the search filter will vary.
Windows® XP - Search Problems - Containing Text:
http://www.dougknox.com/xp/tips/xp_bad_search.htm

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

"David" <[email protected]> wrote in
message news:[email protected]...
 
R

Ramesh [MVP]

You're welcome David.

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

Ramesh,

Maholo!!!! Your advise works as expected.

This has been frustrating me since XP came out. I
continually used a Remote Desktop Connection to a Windows
2000 server and would perform file searches (grep) from
there but when I'm away from the office this was not
possible.

Thanks again!
-----Original Message-----
David,

Follow this advice and create a PersistentHandler for
that filetype. Use {5e941d80-bf96-11cd-b579-
08002b30bfeb}, if and only if it is a plain-text file.
For other HTML based files, the search filter will vary.
Windows® XP - Search Problems - Containing Text:
http://www.dougknox.com/xp/tips/xp_bad_search.htm

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

"David" <[email protected]> wrote in
message news:[email protected]...
 
A

Alex Nichol

David said:
The current search companion does not return results for
files with an extension of .magik when searching for a
specified word. I can rename the file from .magik
to .txt and the appropriate file(s) are identified and
returned.

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
r-click on this file and take Merge to enter it into the registry.
This is set for extension .majik - change that for other ones with
care when really needed

- - start
REGEDIT4

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


- - end
 
G

Guest

Looks like you have got copule of suggestions for this. One way to do it thro' the Search Companion UI is:

Click on “Change Preferencesâ€
Select the indexing service setting option (the text for this option is different depending on whether indexing is enabled or not)
Then click on “Change Indexing service settings (Advanced)â€. A new window with name “Indexing Service†is opened.
In the menu of this window, click on “Action†-> “Propertiesâ€. In the generation tab, make sure “Index files with unknown extensions†is checked.
 

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