undyingking: (Default)
undyingking ([personal profile] undyingking) wrote2010-10-22 10:43 am
Entry tags:

Search me

One annoying feature about Windows 7 is that it now only uses (what used to be called) Windows Desktop Search, and has ditched the perfectly fine file search included in XP. (This change may have alredy been made in Vista, I never used that.)

Although in theory more powerful, in practice it has some very irritating features. Boolean logic allows you to combine search terms -- good. But there is no way to escape some of the various operators etc as string literals. So if you want to eg. search for a file whose name includes the string "(1)", it will return all files that match "1", as parentheses are used in the syntax to combine search terms. You can escape the operators which are words by using quotes, eg. ""fish and chips"" will return differently to "fish and chips". But that doesn't work for the punctuational and mathematical symbols.

I spent far too long searching Microsoft's own help, and experimenting with various possible escape characters, before I gave up and Googled for the answer. It turns out that what you need is a search like "name:~"*(1)*"" which does the job perfectly.

(I scarcely need add that neither the tilde nor the asterisk are documented anywhere by MS, afaics.)

(Note: comments along the lines of "serves you right for using Windoze" are probably unnecessary :-)

[identity profile] fractalgeek.livejournal.com 2010-10-22 11:53 am (UTC)(link)
Desktop Search 4 as built into W7 is so much better than Search 3. There are "Power Shells", but for some reason RegExp only seems to be accessible in some places - eg Visual Studio or the scripting object.


The main issues I have are that it is much more difficult to search for stuff differentiating between filename and content, and that it doesn't work properly unless your indexes are up to date.

[identity profile] undyingking.livejournal.com 2010-10-22 03:15 pm (UTC)(link)
I never used 3 (or any earlier), so this is all new to me. I look forward to further investigations.