We help IT Professionals succeed at work.

Search inside .BAS and .FRM files

Search inside .BAS and .FRM files

We are trying to search network shared directories and NEED to look inside
.BAS and .FRM file formats for specific word or characters strings.  These
files can be opened with a basic text editor but the built-in Microsoft
Search engine will not look into these files.  I was told by a Microsoft
Senior Product Manager that certain file extensions have been removed from
the searching engine in order to speed up searches.  I don't know if this is
true but I do know that I cannot currently search inside these files now.
Is there a registry hack or other means that would let us search inside
these files?  We have

File server is Windows 2003 SP1
Client is Windows XP SP2 (with all the latest updates and patches from MS)


Watch Question

If you have dreamweaver, you can use it to search the files - it's what I've had to do a few times.. you can load the directory into Dreamweaver, give it time to index the files, then control+f, select to search all the folder contents, and select source to search in - and you should be good..
If you don't have Dreamweaver, I'm unsure of what the next best way to search would be.

Yes, the information you were given was correct - as per here: http://support.microsoft.com/kb/309173You could try the registry method given, though.
Proper link: http://support.microsoft.com/kb/309173

...try the registry method:

HKEY_CLASSES_ROOT\.zzz\PersistentHandler\(Default) = {5e941d80-bf96-11cd-b579-08002b30bfeb}


Our DBA found this same solution as soon as I posted.  Thanks for all the fast answers!

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:
Thank you - Microsoft to the rescue! ;-)

"...a Microsoft Senior Product Manager..."
He might not be for much longer =)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.