Search text patterns in zip files with windows explorer



Jacky Luk
07-09-2005, 11:43 PM
I'd like to search for some texts (strings) inside zip or rar files in
windows explorer?
How can I achieve this? any freebies?
For example
1.zip
2.rar

if there is a file called 1.cpp inside 1.zip and there is a string called
"#include <iostream>" in it then I'd like windows explorer to show yes,
1.cpp's of 1.zip got that word, and like that. And display a whole list of
files that contain that word...
Thanks
Jack

Jacky Luk
07-09-2005, 11:43 PM
without opening them...
Thanks
Jack

"Jacky Luk" <jl@knight.com> glsD:uzeX3WPYFHA.1040@TK2MSFTNGP10.phx.gbl...
> I'd like to search for some texts (strings) inside zip or rar files in
> windows explorer?
> How can I achieve this? any freebies?
> For example
> 1.zip
> 2.rar
>
> if there is a file called 1.cpp inside 1.zip and there is a string called
> "#include <iostream>" in it then I'd like windows explorer to show yes,
> 1.cpp's of 1.zip got that word, and like that. And display a whole list
> of files that contain that word...
> Thanks
> Jack
>

Richard Urban
07-09-2005, 11:43 PM
You can't search within a zip file (also .rar) without it being opened. It
may be done in the background by the search program but it still has to be
decompressed to search within it. If it is not decompressed the text string
will never be found. In compressed file the string does not exist in the
correct format.

--
Regards,

Richard Urban

aka Crusty (-: Old B@stard :-)

If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!


"Jacky Luk" <jl@knight.com> wrote in message
news:uzeX3WPYFHA.1040@TK2MSFTNGP10.phx.gbl...
> I'd like to search for some texts (strings) inside zip or rar files in
> windows explorer?
> How can I achieve this? any freebies?
> For example
> 1.zip
> 2.rar
>
> if there is a file called 1.cpp inside 1.zip and there is a string called
> "#include <iostream>" in it then I'd like windows explorer to show yes,
> 1.cpp's of 1.zip got that word, and like that. And display a whole list
> of files that contain that word...
> Thanks
> Jack
>


Search text patterns in zip files with windows explorer