Re: Can I Search Folders using Boolean operands?
Peter wrote:
Good day everyone.
In some folders, there are several thousand documents that literally anyone
can dump files into, including emails. With that being the case, searching
is a critical function, but I often find that one or two word searches aren't
effective and I would like to be able to do Boolean searches (like window AND
building). If I type in window building, it performs an OR function as a
default. Also, the NOT function would be helpful also. Does anyone have any
suggestions?
Hi,
Using the builtin command line tool findstr.exe, you can do this (with
regular expression).
As long as the two words you want to search for is on the same line,
you can also use Agent Ransack (not command line, but GUI based)
Download it from here:
http://www.mythicsoft.com/agentransack/default.aspx
Agent Ransack can save the search result to a file (or clipboard), as text,
comma separated text or tab separated text. E.g. Excel reads comma separated
text (csv) very well.
When searching for text inside files, Agent Ransack is also able to do a
preview of the lines the text was found in (just do a single click on the
found file).
Also, you can use regular expression on both the file name part and the find
text in files part.
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
.
Relevant Pages
- Re: Searching within files in Windows XP
... For example when you are searching for files that contain certain text. ... It seems to look in the word files just fine, but not the word perfect files. ... Agent Ransack can save the search result to a file, as text, ... torgeir, Microsoft MVP Scripting, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx. ... (microsoft.public.windowsxp.general) - Re: String search vs regexp search
... > The regular expression code has a startup penalty since it has to compile ... Both regular expression searching and string.find will do searching ... (comp.lang.python) - Re: partial / wildcard string match in in and list.index()
... > to exact matching. ... There is a regular expression library, aptly called 're', for non-exact ... The standard string methods only do exact searching likely because there ... (comp.lang.python) - Re: sp2 upgrade
... >> keeps searching and searching without any results. ... download and burn to a CD the free spyware ... > The Parasite Fight Quick Fix Protocol ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ... (microsoft.public.windowsxp.general) - Re: Got 0x8007043B Error, Regedit Fix Didnt Work
... > 0x800743B error while searching for Windows Updates. ... > low for another fix, and found only a vbs ... just put the finished VBScript code in ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ... (microsoft.public.windowsupdate) |
|