A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » The Basics
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Explorer Search in WinXP



 
 
Thread Tools Display Modes
  #1  
Old August 2nd 06, 05:25 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Viviana Vc
external usenet poster
 
Posts: 12
Default Windows Explorer Search in WinXP

Hi all,

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?

Thx,
Viv
Ads
  #2  
Old August 2nd 06, 05:49 PM posted to microsoft.public.windowsxp.basics
chris
external usenet poster
 
Posts: 11
Default Windows Explorer Search in WinXP

Viviana Vc wrote:
Hi all,

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?

Thx,
Viv



Are you renaming the file momo.pm, or momo.pm.txt? If you are acually
renaming it momo.pm (meaning you go in to notepad and save it with the
option "all files" or you have hide extensions turned off) you are
changing the extension of this file to .pm, and windows will not search
it for text because it does not know it is a text file. Perhaps this
works in 2000, i don't know, but I doubt it. XP will only search files
it knows are text files.

  #3  
Old August 2nd 06, 07:24 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Major Tom
external usenet poster
 
Posts: 13
Default Windows Explorer Search in WinXP

Viviana Vc wrote:
Hi all,

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?

Thx,
Viv


It appears to be dependant on the file extension. If you change .PM to .DOC or .HTM or .JS it will find the
text.
When asked to find a text string, it looks like XP only searches files it expects to contain text.
Even if you associate a .PM file with Notepad the search still fails.

Somebody else will know more about it I guess.

Major Tom.


  #4  
Old August 2nd 06, 08:13 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Sinner
external usenet poster
 
Posts: 57
Default Windows Explorer Search in WinXP


"Major Tom" wrote in message
...
Viviana Vc wrote:
Hi all,

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?

Thx,
Viv


It appears to be dependant on the file extension. If you change .PM to
.DOC or .HTM or .JS it will find the text.
When asked to find a text string, it looks like XP only searches files it
expects to contain text.
Even if you associate a .PM file with Notepad the search still fails.

Somebody else will know more about it I guess.


After testing it myself, I reached the same conclusion. I didn't test it
with the indexing service turned on though. I don't know if that would make
a difference.


  #5  
Old August 2nd 06, 11:32 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,microsoft.public.windowsxp.customize
Wesley Vogel
external usenet poster
 
Posts: 6,188
Default Windows Explorer Search in WinXP

All TweakUI does is allow you you to use Classic Search, gets rid of the
cartoon crap.

Read this.

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

Then get this.

xp_persisthandler.vbs - Enable XP's "Search" to find text in files.
© Doug Knox - rev 2/5/2002
http://www.dougknox.com/xp/scripts_d...fix_search.htm

More information here.

Using the "A word or phrase in the file" search criterion may not work
http://support.microsoft.com/kb/309173

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In ,
Viviana Vc hunted and pecked:
Hi all,

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?

Thx,
Viv


  #6  
Old August 3rd 06, 11:34 AM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Viviana Vc
external usenet poster
 
Posts: 12
Default Windows Explorer Search in WinXP

I tried also with indexing service on, but still didn't work. This is
pretty annoying as I can't trust anymore the Windows Explorer search.

On Wed, 2 Aug 2006 15:13:50 -0400, "Sinner"
wrote :


"Major Tom" wrote in message
...
Viviana Vc wrote:
Hi all,

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?

Thx,
Viv


It appears to be dependant on the file extension. If you change .PM to
.DOC or .HTM or .JS it will find the text.
When asked to find a text string, it looks like XP only searches files it
expects to contain text.
Even if you associate a .PM file with Notepad the search still fails.

Somebody else will know more about it I guess.


After testing it myself, I reached the same conclusion. I didn't test it
with the indexing service turned on though. I don't know if that would make
a difference.


  #7  
Old August 3rd 06, 12:05 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,microsoft.public.windowsxp.customize
Viviana Vc
external usenet poster
 
Posts: 12
Default Windows Explorer Search in WinXP

Chris --

This works indeed in Windows 2k, as actuallly stated by MS article:
http://support.microsoft.com/kb/309173
"In Microsoft Windows 2000 and earlier versions of Windows, all files
are searched for the content that you specify. Windows XP does not
search all file to enhance the performance of searching and to avoid
extraneous results."

Wesley --

THX a lot for the links you sent me. At the first glance it looked like
there is no way out, meaning no way to set the behaviour like in Win2k,
as it looks like you have to set some registry stuff for each file type
you want, but I want _all_.
But in the end I did what's written in:
http://support.microsoft.com/kb/309173 - "Method 2" which seems to be
exactly what I want: Win2k behaviour, meaning searching _all_ files, not
just the ones specified in the registry.
After doing this, in the sample above the momo.pm is found.

Thx again
Viv

On Wed, 2 Aug 2006 16:32:56 -0600, "Wesley Vogel"
wrote :

All TweakUI does is allow you you to use Classic Search, gets rid of the
cartoon crap.

Read this.

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

Then get this.

xp_persisthandler.vbs - Enable XP's "Search" to find text in files.
© Doug Knox - rev 2/5/2002
http://www.dougknox.com/xp/scripts_d...fix_search.htm

More information here.

Using the "A word or phrase in the file" search criterion may not work
http://support.microsoft.com/kb/309173


  #8  
Old August 3rd 06, 02:26 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Michael Bednarek
external usenet poster
 
Posts: 11
Default Windows Explorer Search in WinXP

On Wed, 02 Aug 2006 18:25:46 +0200, Viviana Vc
wrote in (!!!) [microsoft.public.windowsxp.basics,
microsoft.public.windowsxp.configuration_manage,
microsoft.public.windowsxp.general, alt.os.windows.xp,
alt.os.windows-xp, microsoft.public.windowsxp.customize,]
alt.windows-xp:

Until now I have used Windows 2000, and these days I switched to Windows
XP SP2. Now I'm having the following problem with the Windows Explorer
Search in WinXP (I'll describe the steps to reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the behaviour,
so that in the above scenario both files to be found as containing the
"lolo" string?


Not reproducible here (NT5.1-SP2, fully patched, indexing disabled),
both files are listed as found.

[F'up set to ng where found.]

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
  #9  
Old August 3rd 06, 04:35 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Major Tom
external usenet poster
 
Posts: 13
Default Windows Explorer Search in WinXP

Viviana Vc wrote:
I tried also with indexing service on, but still didn't work. This is
pretty annoying as I can't trust anymore the Windows Explorer search.


You can get it to work with a one line registry hack.
If you are not comfortable editing the registry do this:
Create a blank text document, copy and paste this:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000 001

Close the document, change extension from TXT to REG, right-click and select ' Merge '.

(To undo, change the 1 to a 0 in the last line.)

Major Tom.



  #10  
Old August 3rd 06, 05:14 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Damian
external usenet poster
 
Posts: 49
Default Windows Explorer Search in WinXP

Michael Bednarek wrote:
On Wed, 02 Aug 2006 18:25:46 +0200, Viviana Vc
wrote in (!!!) [microsoft.public.windowsxp.basics,
microsoft.public.windowsxp.configuration_manage,
microsoft.public.windowsxp.general, alt.os.windows.xp,
alt.os.windows-xp, microsoft.public.windowsxp.customize,]
alt.windows-xp:

Until now I have used Windows 2000, and these days I switched to
Windows XP SP2. Now I'm having the following problem with the
Windows Explorer Search in WinXP (I'll describe the steps to
reproduce):
- create a directory eg MY_DIR
- create in this dir a file momo.txt in which write the text "lolo"
- make a copy of momo.txt in the same dir and rename it to momo.pm
- use Windows Explorer to make a search into MY_DIR directory for all
files that contain the "lolo" string
= even if the content of momo.txt and momo.pm is identical, only
momo.txt is found. In Windows 2000 this was not a problem.

I used TweakUI to change the search to be like Windows 2k, but this
doesn't really affect the actual search. How can I change the
behaviour, so that in the above scenario both files to be found as
containing the "lolo" string?


Not reproducible here (NT5.1-SP2, fully patched, indexing disabled),
both files are listed as found.

[F'up set to ng where found.]


Groups snipped by usenet nazi Michael Bednarek restored.


  #11  
Old August 3rd 06, 06:05 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Viviana Vc
external usenet poster
 
Posts: 12
Default Windows Explorer Search in WinXP

Thx Tom,

I actually followd the steps from:
http://support.microsoft.com/kb/309173 - "Method 2"
and now everything seems to work as Win2k.

Viv

On Thu, 3 Aug 2006 16:35:33 +0100, "Major Tom" wrote :

Viviana Vc wrote:
I tried also with indexing service on, but still didn't work. This is
pretty annoying as I can't trust anymore the Windows Explorer search.


You can get it to work with a one line registry hack.
If you are not comfortable editing the registry do this:
Create a blank text document, copy and paste this:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:000000 01

Close the document, change extension from TXT to REG, right-click and select ' Merge '.

(To undo, change the 1 to a 0 in the last line.)

Major Tom.



  #12  
Old August 3rd 06, 06:09 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Sinner
external usenet poster
 
Posts: 57
Default Windows Explorer Search in WinXP


"Major Tom" wrote in message
...
Viviana Vc wrote:
I tried also with indexing service on, but still didn't work. This is
pretty annoying as I can't trust anymore the Windows Explorer search.


You can get it to work with a one line registry hack.
If you are not comfortable editing the registry do this:
Create a blank text document, copy and paste this:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000 001

Close the document, change extension from TXT to REG, right-click and
select ' Merge '.



Excellent fix.


  #13  
Old August 3rd 06, 07:52 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,microsoft.public.windowsxp.customize
Wesley Vogel
external usenet poster
 
Posts: 6,188
Default Windows Explorer Search in WinXP

Keep having fun, Viv. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In ,
Viviana Vc hunted and pecked:

Wesley --

THX a lot for the links you sent me. At the first glance it looked like
there is no way out, meaning no way to set the behaviour like in Win2k,
as it looks like you have to set some registry stuff for each file type
you want, but I want _all_.
But in the end I did what's written in:
http://support.microsoft.com/kb/309173 - "Method 2" which seems to be
exactly what I want: Win2k behaviour, meaning searching _all_ files, not
just the ones specified in the registry.
After doing this, in the sample above the momo.pm is found.

Thx again
Viv

On Wed, 2 Aug 2006 16:32:56 -0600, "Wesley Vogel"
wrote :

All TweakUI does is allow you you to use Classic Search, gets rid of the
cartoon crap.

Read this.

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

Then get this.

xp_persisthandler.vbs - Enable XP's "Search" to find text in files.
© Doug Knox - rev 2/5/2002
http://www.dougknox.com/xp/scripts_d...fix_search.htm

More information here.

Using the "A word or phrase in the file" search criterion may not work
http://support.microsoft.com/kb/309173


  #14  
Old August 3rd 06, 08:31 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.configuration_manage,microsoft.public.windowsxp.general,alt.os.windows.xp,alt.os.windows-xp,alt.windows-xp,microsoft.public.windowsxp.customize
Major Tom
external usenet poster
 
Posts: 13
Default Windows Explorer Search in WinXP

Sinner wrote:
"Major Tom" wrote in message
...
Viviana Vc wrote:
I tried also with indexing service on, but still didn't work. This is
pretty annoying as I can't trust anymore the Windows Explorer search.


You can get it to work with a one line registry hack.
If you are not comfortable editing the registry do this:
Create a blank text document, copy and paste this:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000 001

Close the document, change extension from TXT to REG, right-click and
select ' Merge '.



Excellent fix.


Just between you and me I pinched it from here!
http://www.sellsbrothers.com/tools/
:-)
Major Tom.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 12:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.