prg files not found in explorer file search tool

J

Jude

When I use the built-in Windows Explorer Search tool, and
searching for a string "suom" within PRG files (*.prg),
nothing comes up. I know the string is in use in many
prg files. If I rename a file to TXT file, it comes up
found. The search tool seems to be ignoring PRG files,
but all the usual settings e.g. "show system/hidden
files", "case insensitive", etc. are set up for maximum
transparency. I even deleted the File Type PRG in
Windows for Visual Foxpro 8. Still fails. What is going
on??
 
A

Alex Nichol

Jude said:
When I use the built-in Windows Explorer Search tool, and
searching for a string "suom" within PRG files (*.prg),
nothing comes up. I know the string is in use in many
prg files. If I rename a file to TXT file, it comes up
found.

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. So I would *not* use this for PRG files that are mainly
binary code, but you may find it of use elsewhere.

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.
This is for .log - modify that for other extensions, with care.

- - start
REGEDIT4

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


- - end
 

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