Still not able to search within files (e.g. .html, .htm) for spec

M

matthewtec

I do not know what change has brought about this issue again, but as an
example of the issue:

When I do a search from the file explorer when there are .html files in the
directory/sub-directories, the search does not return results if the search
text is not in the displayable text [the text that would appear if the .html
file was opened in a browser].
--> e.g. an html file has the following text in it: <title>Welcome</title>
-- If I do a search on "<title>", Search won't return it; if I search on
"Welcome", it will be returned as a result.
-- And if I change the file to be a .txt file, a search on "<title>" will
display a result.

I have fixed the issue previously, going off the information given in:
http://support.microsoft.com/kb/309173
(using method 2)

I have repeated the steps [the Indexing Service step, and the registry
change]; and have then restarted, but the issue remains. [when I fixed this
initially, perhaps 18-24 months ago, I believe these are the steps I followed]


Is there something else that needs to be done, or another area I could have
fouled up? I don't know if there are any other settings that work with this.

I would be extremely appreciative of any assistance.


Win XP Pro, SP3
Office 2007
[though, I have not used the 'Instant Search' ]
 
R

Randem

Found it...

You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


Randem said:
I have given the solution to this question several times in this newsgroup.
Search for it. If I find it I will post it again.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


matthewtec said:
I do not know what change has brought about this issue again, but as an
example of the issue:

When I do a search from the file explorer when there are .html files in
the
directory/sub-directories, the search does not return results if the
search
text is not in the displayable text [the text that would appear if the
.html
file was opened in a browser].
--> e.g. an html file has the following text in it:
<title>Welcome</title>
-- If I do a search on "<title>", Search won't return it; if I search on
"Welcome", it will be returned as a result.
-- And if I change the file to be a .txt file, a search on "<title>" will
display a result.

I have fixed the issue previously, going off the information given in:
http://support.microsoft.com/kb/309173
(using method 2)

I have repeated the steps [the Indexing Service step, and the registry
change]; and have then restarted, but the issue remains. [when I fixed
this
initially, perhaps 18-24 months ago, I believe these are the steps I
followed]


Is there something else that needs to be done, or another area I could
have
fouled up? I don't know if there are any other settings that work with
this.

I would be extremely appreciative of any assistance.


Win XP Pro, SP3
Office 2007
[though, I have not used the 'Instant Search' ]
 
M

matthewtec

I appreciate the answer. But this would involve having to change the
settings for every file extension I want to search in.... and if I'm
searching in folders where I'm not familiar with every extension in it [or
simply can't hunt down every extension in the folders and subfolders; at
least not in an efficient manner]; I won't necessarily know if the results
are because the search phrase isn't in any of the files, or because it's in
the file but in the wrong part of the file.

When I corrected this on 3 computers within the last two years, I only had
to change one setting to enable correct searches in all extensions.

Unfortunately I don't remember if this behavior started to occur before
moving to SP3, but my computer with SP2 still searches fine without
individual registry changes.
Do you or does anyone know why the search went back to its original
behavior, or if there's a way in SP3 to fix this without individual registry
changes?


--
remove the "noSpam_" to email me.


Randem said:
Found it...

You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


Randem said:
I have given the solution to this question several times in this newsgroup.
Search for it. If I find it I will post it again.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


matthewtec said:
I do not know what change has brought about this issue again, but as an
example of the issue:

When I do a search from the file explorer when there are .html files in
the
directory/sub-directories, the search does not return results if the
search
text is not in the displayable text [the text that would appear if the
.html
file was opened in a browser].
--> e.g. an html file has the following text in it:
<title>Welcome</title>
-- If I do a search on "<title>", Search won't return it; if I search on
"Welcome", it will be returned as a result.
-- And if I change the file to be a .txt file, a search on "<title>" will
display a result.

I have fixed the issue previously, going off the information given in:
http://support.microsoft.com/kb/309173
(using method 2)

I have repeated the steps [the Indexing Service step, and the registry
change]; and have then restarted, but the issue remains. [when I fixed
this
initially, perhaps 18-24 months ago, I believe these are the steps I
followed]


Is there something else that needs to be done, or another area I could
have
fouled up? I don't know if there are any other settings that work with
this.

I would be extremely appreciative of any assistance.


Win XP Pro, SP3
Office 2007
[though, I have not used the 'Instant Search' ]
 
3

3c273

Why beat your head against a wall trying to make Windows Explorer do what
you want? Get a better search tool. Agent Ransack is free and does not
suffer most of the limitations of Explorer. When it finds a match, you can
click on the match and see the lines in the file where the search string was
found. You can even use regular expressions to search. I even tested your
example and it works like a charm.
Louis

matthewtec said:
I appreciate the answer. But this would involve having to change the
settings for every file extension I want to search in.... and if I'm
searching in folders where I'm not familiar with every extension in it [or
simply can't hunt down every extension in the folders and subfolders; at
least not in an efficient manner]; I won't necessarily know if the results
are because the search phrase isn't in any of the files, or because it's in
the file but in the wrong part of the file.

When I corrected this on 3 computers within the last two years, I only had
to change one setting to enable correct searches in all extensions.

Unfortunately I don't remember if this behavior started to occur before
moving to SP3, but my computer with SP2 still searches fine without
individual registry changes.
Do you or does anyone know why the search went back to its original
behavior, or if there's a way in SP3 to fix this without individual registry
changes?


--
remove the "noSpam_" to email me.


Randem said:
Found it...

You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


Randem said:
I have given the solution to this question several times in this newsgroup.
Search for it. If I find it I will post it again.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


I do not know what change has brought about this issue again, but as an
example of the issue:

When I do a search from the file explorer when there are .html files in
the
directory/sub-directories, the search does not return results if the
search
text is not in the displayable text [the text that would appear if the
.html
file was opened in a browser].
--> e.g. an html file has the following text in it:
<title>Welcome</title>
-- If I do a search on "<title>", Search won't return it; if I search on
"Welcome", it will be returned as a result.
-- And if I change the file to be a .txt file, a search on "<title>" will
display a result.

I have fixed the issue previously, going off the information given in:
http://support.microsoft.com/kb/309173
(using method 2)

I have repeated the steps [the Indexing Service step, and the registry
change]; and have then restarted, but the issue remains. [when I fixed
this
initially, perhaps 18-24 months ago, I believe these are the steps I
followed]


Is there something else that needs to be done, or another area I could
have
fouled up? I don't know if there are any other settings that work with
this.

I would be extremely appreciative of any assistance.


Win XP Pro, SP3
Office 2007
[though, I have not used the 'Instant Search' ]
 
R

Randem

Well, if you insist on using Windows Searching program should uninstall
Windows Search 4.0 for one. Now if you use the registry method all you need
to do is to create one .reg file with all the extentions you need then
double click on it to add it to your registry. You can run this same file on
any computer you want.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


matthewtec said:
I appreciate the answer. But this would involve having to change the
settings for every file extension I want to search in.... and if I'm
searching in folders where I'm not familiar with every extension in it [or
simply can't hunt down every extension in the folders and subfolders; at
least not in an efficient manner]; I won't necessarily know if the results
are because the search phrase isn't in any of the files, or because it's
in
the file but in the wrong part of the file.

When I corrected this on 3 computers within the last two years, I only had
to change one setting to enable correct searches in all extensions.

Unfortunately I don't remember if this behavior started to occur before
moving to SP3, but my computer with SP2 still searches fine without
individual registry changes.
Do you or does anyone know why the search went back to its original
behavior, or if there's a way in SP3 to fix this without individual
registry
changes?


--
remove the "noSpam_" to email me.


Randem said:
Found it...

You have to change a registry entry to accomplish
this. The entry is in the file association entry. Open the file
association for the extention you want to search and add the "Content
Type"
with a REG_SZ of text/plain. I believe that will do it.

You can create a .reg file for this also

REGEDIT4

[HKEY_CLASSES_ROOT\.YOUREXTENTION]
@="txtfile"
"PerceivedType"="text"
"Content Type"="text/plain"

This will add to the entry and then windows search will search it for
text
entries.


--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


Randem said:
I have given the solution to this question several times in this
newsgroup.
Search for it. If I find it I will post it again.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
http://www.randem.com/installerproblems.html
http://www.randem.com/vistainstalls.html
http://www.financialtrainingservices.org


I do not know what change has brought about this issue again, but as an
example of the issue:

When I do a search from the file explorer when there are .html files
in
the
directory/sub-directories, the search does not return results if the
search
text is not in the displayable text [the text that would appear if the
.html
file was opened in a browser].
--> e.g. an html file has the following text in it:
<title>Welcome</title>
-- If I do a search on "<title>", Search won't return it; if I search
on
"Welcome", it will be returned as a result.
-- And if I change the file to be a .txt file, a search on "<title>"
will
display a result.

I have fixed the issue previously, going off the information given in:
http://support.microsoft.com/kb/309173
(using method 2)

I have repeated the steps [the Indexing Service step, and the registry
change]; and have then restarted, but the issue remains. [when I fixed
this
initially, perhaps 18-24 months ago, I believe these are the steps I
followed]


Is there something else that needs to be done, or another area I could
have
fouled up? I don't know if there are any other settings that work
with
this.

I would be extremely appreciative of any assistance.


Win XP Pro, SP3
Office 2007
[though, I have not used the 'Instant Search' ]
 

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