MyTechSupport.ca :: Your Computer Technical Resource Headquarters! MyTechSupport.ca :: Your Computer Technical Resource Headquarters!
HOME FORUMS RESOURCES & TOOLS ARTICLES ONLINE STORE ABOUT US
Computer Support Forums arrow Computer Related Discussions arrow Tips & Tricks arrow Topic: Search within files using Windows Search
December 08, 2019, 03:50:13 AM
 

Home Forum Rules Help Search Mobile Version Login Register

Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2019, 03:50:13 AM

Login with username, password and session length
 Featured Sites:
News
Welcome to MyTechSupport.ca! - Registration is FREE, so why not join our friendly community today?
  0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: Search within files using Windows Search  (Read 8081 times)
Admin
Administrator
Hero Member
*****

Karma: +4/-0
Offline Offline

Gender: Male
Posts: 4898



Bookmark and Share

View Profile
« on: August 24, 2006, 03:51:46 PM »

Ever try using the Windows Search to search within files using the "Containing text" or "A word or phrase in the file" (denpending on the Windows version) option and not find any results even though you know the files contain your search term?

Method 1

Not all file types are registered to allow to be search within them. You need to import an entry in the registry to allow this.

Create an import.reg file with the following in it (where .phps is replaced with the extension of files you would like to search inside, such as .cfm .php or .xml). Multiple ones can be added by making copies of the registry key and replacing the extension.

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.phps\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

Save the file, double click it, click on yes, log out and back in and you're done, now it searches inside those files for you.

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 create an import.reg file with the following in it:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000001

Save the file, double click it, click on yes, log out and back in and you're done, now it searches inside files that have no programs associated with it.

Source: http://support.microsoft.com/kb/309173


To search within MSG files

1. Perform Method 2
2. Download and install http://www.microsoft.com/downloads/details.aspx?familyid=134ECBB0-C162-4D07-BEF3-0B602C4A79DD&displaylang=en
3. Log out and back in
« Last Edit: September 19, 2006, 05:43:12 PM by Admin » Logged

Sylvain Amyot
http://www.mytechsupport.ca

If you like to concept of this site and want to help, click here to find out how.
Pages: [1] Go Up Print 
 
Jump to:  

Powered by MySQL Powered by PHP

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS!

Disclaimer
This site is NOT responsible for any damage that the information on this site may cause to your system. Everything you try, whether inspired by the response given from this site or not, is entirely at your own risk. All product names and company names used herein are for identification purpose only and may be trademarks or registered trademarks of their respective owners. We are in no way affiliated or representing any of the companies on this site unless specified.
Back to Top
Stop Spam Harvesters, Join Project Honey Pot Fight Back Against Spammers! Get Firefox! Get Thunderbird! View Sylvain Amyots profile on LinkedIn
Back to Top
Google visited last this page June 29, 2019, 10:09:56 PM