Looking for ascii text inside files doesn't work at all
- From: "Andreas Eibach" <aeibach@xxxxxxxx>
- Date: Wed, 1 Nov 2006 22:27:27 +0100
Well do you guys have an idea what "grep" is?
Yes it comes from the *NIX world but is also known beyond ... looking
for an ascii text string in a file.
I'm really desperate now, as this simply does not work on either WinXP
nor Server 2003, but did (and still does) in my old Win2000! I even retested to be absolutely sure, and yes it works.
It's really annoying if I really need this stuff and have no 3rd-party
tools handy (like UltraEdit) that I have to dual-boot into my old 2000!
The strings appear in plain ascii and are human readable when
hex-editing them, so Windows _ought_ to find them!
But it did not, so I began to investigate a little more...
Let's have a file as an example which you all should have:
\Program Files\Common Files\Microsoft Shared\Speech\SAPI.DLL
Hex-editing the file reveals that there is a string called "reloc" right at the beginning of the file.
So if text search (aka grep) worked, this should work too shouldn't it?
But it definitely does NOT.
It seems that Microsoft have indeed made a major error here. The second field (captioned "A word of phrase in the file:") works almost the same as the uppermost one.
A test:
- I make sure that the option "look in sub-directories" is activated
- I set the "Look in:" directory to
\Program Files\Common Files\Microsoft Shared\Speech\SAPI.DLL
- Now I input 'cpl' into the field in the middle.
=> I will get two results: sapi.CPL and spCPLui.dll in the 1033 sub-directory.
And now it comes:
I change the term in the _middle_ input field to 'i.cpl'.
Now the only result I get is sap[i.cpl] because it matches with 'i.cpl'.
But wouldn't you expect this middle field is for looking INSIDE the files, i. e. in the binary code?
That's how it worked in Windows 2000. And apparently this doesn't work anymore.
Or if, please tell me how.
The "reloc" string was successfully found in sapi.dll with a 3rd-party tool, UltraEdit32.
-Andreas
.
- Prev by Date: Re: Hard drives seen but drive letters not assigned
- Next by Date: Re: Problem with Recovery CD??
- Previous by thread: How Can i Run Dos progrem like TASM on me winxp home?
- Next by thread: Re: Problem with Recovery CD??
- Index(es):
Relevant Pages
|