file search In Windows XP does not work properly

V

vikram Karumbaiah

I tried searching for all files in a particular
containing 'getContact'. This is a function name in a vb6
class file that I know exists in the folder however win XP
pro cannot find this.

It is able to find it if I put it in a text document and
it works on win 2000. The class file is not hidden.

The indexing service is running on the WIn XP machine.
How can I fix this do I can search the contents of all
types of files?
 
?

=?iso-8859-1?Q?Jean-Fran=E7ois_Larvoire?=

Hello,

I have the same problem, but with two machines that are
both under Windows XP Pro SP1:
Machine A has a shared drive, accessible from the machine
B.
When I search files locally on the shared drive of
machine A, I get far more hits than when I search the
same drive through the network from machine B.
Yet this is not an access rights problem: If I copy the
whole tree from A to B, and search it locally on B it
works fine.

Side question: Is it possible to revert to the Windows
2000 search assistant? It was far better than the one in
Windows XP!!!

Jean-François
 
T

Tom Porterfield

vikram said:
I tried searching for all files in a particular
containing 'getContact'. This is a function name in a vb6
class file that I know exists in the folder however win XP
pro cannot find this.

It is able to find it if I put it in a text document and
it works on win 2000. The class file is not hidden.

The indexing service is running on the WIn XP machine.
How can I fix this do I can search the contents of all
types of files?

You have a couple of options.

Option 1 - make the changes outlined at http://support.telop.org/xpsrch.htm.

Option 2 - use a different search tool. I like Agent Ransack from
http://www.mythicsoft.com/agentransack/default.aspx.

--
Tom Porterfield
MS-MVP MCE
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
R

Ramesh [MVP]

Hi Vikram,

In addition:

Plain-text handler should work for Visual Basic class modules. (.CLS right?). Follow this procedure and add a plain-text filter to that file-type.

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

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

The Parasite Fight - Quick Fix Protocol:
http://aumha.org/a/quickfix.htm

The Antivirus Defense-in-Depth Guide
http://go.microsoft.com/fwlink/?LinkId=28734

I tried searching for all files in a particular
containing 'getContact'. This is a function name in a vb6
class file that I know exists in the folder however win XP
pro cannot find this.

It is able to find it if I put it in a text document and
it works on win 2000. The class file is not hidden.

The indexing service is running on the WIn XP machine.
How can I fix this do I can search the contents of all
types of files?
 
A

Alex Nichol

vikram said:
I tried searching for all files in a particular
containing 'getContact'. This is a function name in a vb6
class file that I know exists in the folder however win XP
pro cannot find this.

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.
This is for .log - modify that for other extensions, with care. Take a
look first under that key in the registry for the extension concerned,
because it is quite likely that it *does* have a handler, which you
should not disturb.

- - start
REGEDIT4

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


- - end
 
J

JF Larvoire

Thanks for the tips.

While applying the change, I noticed there _was_ a difference between my two
XP machines:
The machine A with the shared drive had indexing enabled.
The machine B had indexing disabled.

This still does not explain why searching a set of files on machine B local
drive does not gives
the same result as searching the same set of files from machine B on machine
A's network drive!

Jean-François
 

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