Search html files problem

  • Thread starter Thread starter aihamonline
  • Start date Start date
A

aihamonline

I'm trying to find all html files in a given folder that
contain a specific word (JScript function name).
The trouble is that no html files meeting my requirement
are found, even though i'm pretty sure that -at least- one
file in that folder does contain the correct word.
Other file types that contain the same word (including .js
files) are found.

Could you please help me solve the problem?

Sincere Regards
 
See www.dougknox.com, Win XP Fixes, Windows XP Search Problem, Can't Find
Files Containing Text. If that doesn't resolve your issue, many users a
using a free program, Agent Ransack www.agentransack.com to work around some
of XP's search limitations.
 
method 2 on the KB309173 which you reference on your page seems a lot less
hassle to me, any reason you don't recommend it? I assume it slows down
searching, but what good is a fast incorrect search...
BTW I get this error when visited your website(I can ignore it just
fine-only thought you might want to know)

line:125
char:3
error:object expected
code:0
url: h t t p://www.dougknox.com/banner.htm
 
Primarily because it is referenced on my page, and some users report that it
doesn't work for them. Thanks for the information on the error, I'll take
a look and see if I can find what's causing it.
 
Thanks. Upon checking further I find that 'Search' won't find any sort of
html code in the file, just text that would be displayed, even with method
#2 employed. Apparently it only makes sure all file types will be searched,
not changing *how* they are searched. Unfortunately .htm already has a
'persistent handler'. Not very convienent if you're trying to find html
code in a file you wrote. Definately a 'wish-list' item!!
I found that I *can* use

findstr /s /i JScriptFunctionName *.htm

from a Command Prompt opened at the desired 'Look in' location, although its
output is not as nice to read as that of the Windows Search.
Will keep agentransack in mind although I'm ultra-cautious about what I
download (have spent a lot of time removing griefware from OPCs).

More info on the page error:
It seems to be caused by my hosts file (from mvps.org) but the page doesn't
look any different at all whether using hosts or not. Hmmmm.

Thanks again,
CCM
 

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

Back
Top