Re: Searching for text in files



Until Wes returns:

Or even if he does return. ;-)

Speaking of which, I am going to Phoenix, AZ for a month. What an idiot,
Phoenix in June. I think I'll have my head examined.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:eocqgDVfGHA.4080@xxxxxxxxxxxxxxxxxxxx,
Ramesh, MS-MVP <ramesh@xxxxxxxxxxxx> hunted and pecked:
Until Wes returns:

Alan,

The .Properties seems to be a reserved Windows file extension. To
workaround the problem, set the "FilterFilesWithUnknownExtensions" Value
data to 1 in the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex]

Logoff and then login back.


More information:

From http://support.microsoft.com/?kbid=309173
Method 2
To configure Windows XP to search all files no matter what the file type,
obtain the latest service pack for Windows XP and then turn on the Index
file types with unknown extensions option.

If you use this method, Windows XP searches all file types for the text
that you specify. This can affect the performance of the search
functionality. To do this: 1. Click Start, and then click Search (or
point to Search, and then click For Files or Folders).
2. Click Change preferences, and then click With Indexing Service
(for faster local searches).
3. Click Change Indexing Service Settings (Advanced). Note that you
do not have to turn on the Index service.
4. On the toolbar, click Show/Hide Console Tree.
5. In the left pane, right-click Indexing Service on Local Machine,
and then click Properties.
6. On the Generation tab, click to select the Index files with
unknown extensions check box, and then click OK.
7. Close the Indexing Service console.
Warning Serious problems might occur if you modify the registry
incorrectly by using Registry Editor or by using another method. These
problems might require that you reinstall your operating system.
Microsoft cannot guarantee that these problems can be solved. Modify the
registry at your own risk. Network administrators can configure this
setting by modifying the registry. To do this, set the
FilterFilesWithUnknownExtensions DWORD value to 1 in the following
registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


"Alan4297" <Alan4297@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:67F72D4E-2673-4724-88B6-889322CDCB80@xxxxxxxxxxxxxxxx
Hi Wes,

Before my first post, I had tried the PersistentHandler method. It worked
for any file except .PROPERTIES

I tried the VbScript tool, and it informed me that my registry entry was
correct :)

Finally, I tried the AgentRansack tool. It's great! Far better than the
Windows native search tool :)

(I wouldn't mind knowing why PersistentHandler didn't work!)

Thanks for your help.

Regards,
Alan

"Wesley Vogel" wrote:

Read this.

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

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_desc/xp_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 news:80BDDD0D-F59D-4CF4-AFA0-DBE48B47AD29@xxxxxxxxxxxxx,
Alan4297 <Alan4297@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I followed the advice in MS article 309173, about searching for words
and
phrases in files.

After mofifying the registy entries for .XML, .CLASS, and .JAR files, I
can now find text in these files.

I still cannot find text in .PROPERTIES files, which are simple text
files
like the other files that I modified.

Can anyone advise? Are there too many characters in PROPERTIES? :)

Regards,
Alan

.



Relevant Pages

  • Re: Windows Explorer File Search
    ... To configure Windows XP to search all files no matter what the file type, ... Click Change Indexing Service Settings. ... Warning Serious problems might occur if you modify the registry incorrectly ... set the FilterFilesWithUnknownExtensions DWORD value to 1 in the ...
    (microsoft.public.windowsxp.basics)
  • Re: Search
    ... To configure Windows XP to search all files no matter what the file type, ... file types with unknown extensions option. ... Click Change Indexing Service Settings. ... Warning Serious problems might occur if you modify the registry incorrectly ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP Search for meta in content does not work
    ... To configure Windows XP to search all files no matter what the file type, ... file types with unknown extensions option. ... Click Change Indexing Service Settings. ... Warning Serious problems might occur if you modify the registry incorrectly ...
    (microsoft.public.windowsxp.general)
  • Re: Search doesnt find some things
    ... To configure Windows XP to search all files no matter what the file type, ... Click Change Indexing Service Settings. ... Warning Serious problems might occur if you modify the registry incorrectly ... set the FilterFilesWithUnknownExtensions DWORD value to 1 in the ...
    (microsoft.public.windowsxp.newusers)
  • NewestShareware.com Issue #89
    ... FileBoss for Windows ... Program Homepage/Download url ... In general users make a program execute at window startup by ... Adding programs to the Registry and WIN.INI file protects the program. ...
    (comp.software.shareware.announce)