Oct. 22nd, 2010

Search me

Oct. 22nd, 2010 10:43 am
undyingking: (Default)
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 :-)

Search me

Oct. 22nd, 2010 10:43 am
undyingking: (Default)
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 :-)

Profile

undyingking: (Default)
undyingking

March 2012

S M T W T F S
     123
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 7th, 2025 09:43 pm
Powered by Dreamwidth Studios