Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista File Management > Searching Redux

Reply
Thread Tools Display Modes

Searching Redux

 
 
Dave Melvin
Guest
Posts: n/a

 
      03-26-2007
"Keith Miller MVP" <> wrote in message
news:%...
> In the Search box, if you type:
>
> name:~"*+*"
>
> it will return all files with the '+' character in their name.
>
>
> --
> Good Luck,
>
> Keith
> Microsoft MVP [Windows XP Shell/User]
>
> "Garry" <> wrote in message
> news:1CA477E9-EB3E-4405-9CA0-...
>> Can anyone explain how (as was so easy in XP) I can search with Vist for
>> part
>> of a file name, (ie. +, ++, or other characters) I add to files?
>> --
>> Thank you,
>>
>> Garry

>



This does not work for me. For example, I'm searching a folder for pictures
with the underscore character in the name, i.e., "file_name". Using your
suggestion, I type "name:~"*_*" in the search box and I get every file in
the folder listed, even those with no underscore character. What's up?

Thanks,
Dave

 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      03-27-2007
It only returns files with underscore in them here.
"Dave Melvin" <> wrote in message
news:477D54B1-7ACA-4C9A-A9BC-...
> "Keith Miller MVP" <> wrote in message
> news:%...
>> In the Search box, if you type:
>>
>> name:~"*+*"
>>
>> it will return all files with the '+' character in their name.
>>
>>
>> --
>> Good Luck,
>>
>> Keith
>> Microsoft MVP [Windows XP Shell/User]
>>
>> "Garry" <> wrote in message
>> news:1CA477E9-EB3E-4405-9CA0-...
>>> Can anyone explain how (as was so easy in XP) I can search with Vist for
>>> part
>>> of a file name, (ie. +, ++, or other characters) I add to files?
>>> --
>>> Thank you,
>>>
>>> Garry

>>

>
>
> This does not work for me. For example, I'm searching a folder for
> pictures
> with the underscore character in the name, i.e., "file_name". Using your
> suggestion, I type "name:~"*_*" in the search box and I get every file in
> the folder listed, even those with no underscore character. What's up?
>
> Thanks,
> Dave
>


 
Reply With Quote
 
Keith Miller MVP
Guest
Posts: n/a

 
      03-27-2007
"Dave Melvin" <> wrote in message
news:477D54B1-7ACA-4C9A-A9BC-...
> "Keith Miller MVP" <> wrote in message
> news:%...
>> In the Search box, if you type:
>>
>> name:~"*+*"
>>
>> it will return all files with the '+' character in their name.
>>

>
> This does not work for me. For example, I'm searching a folder for
> pictures
> with the underscore character in the name, i.e., "file_name". Using your
> suggestion, I type "name:~"*_*" in the search box and I get every file in
> the folder listed, even those with no underscore character. What's up?
>


Do you get EVERY file? Or just those with a blank " " as well as an "_"?
That's the behavior I'm seeing. :-(

I know that outside of quotes, certain characters were intended to be
interpreted as white space, but it shouldn't happen within them. Sorry, I
have no answer.


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


 
Reply With Quote
 
Dave Melvin
Guest
Posts: n/a

 
      03-27-2007
"Keith Miller MVP" <> wrote in message
news:...
> "Dave Melvin" <> wrote in message
> news:477D54B1-7ACA-4C9A-A9BC-...
>> "Keith Miller MVP" <> wrote in message
>> news:%...
>>> In the Search box, if you type:
>>>
>>> name:~"*+*"
>>>
>>> it will return all files with the '+' character in their name.
>>>

>>
>> This does not work for me. For example, I'm searching a folder for
>> pictures
>> with the underscore character in the name, i.e., "file_name". Using your
>> suggestion, I type "name:~"*_*" in the search box and I get every file in
>> the folder listed, even those with no underscore character. What's up?
>>

>
> Do you get EVERY file? Or just those with a blank " " as well as an "_"?
> That's the behavior I'm seeing. :-(
>
> I know that outside of quotes, certain characters were intended to be
> interpreted as white space, but it shouldn't happen within them. Sorry, I
> have no answer.
>
>
> --
> Good Luck,
>
> Keith
> Microsoft MVP [Windows XP Shell/User]
>
>


Keith,
When I run the search, it shows me the first 5,000 files in the folder.
If I click on "show all search results", it gives me 47,096 files. When I
right-click on the folder and select properties, it tells me I have 46,082
files in the folder!

Thanks for the assist,

dam

 
Reply With Quote
 
Keith Miller MVP
Guest
Posts: n/a

 
      03-28-2007
The higher number of search results would be the result of searching
subfolders. If you place a sampling of items in a test folder, I think
you'll see what I'm saying. I had one folder with an "_" in its name, I got
19 results: the one folder + 18 items with a " " in their name. When I
searched for ~"* *", I got 18 results: all the blanks without the "_"
folder!!!

To annoy me further, 'NOT' doesn't invert the search. I would have hoped
that NOT(~"* *") would have returned all items without a " " in their names,
but no such luck!!! Got the exact same result set. :-(


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]

"Dave Melvin" <> wrote in message
news:E589C99F-66AB-46D9-A88B-...
> "Keith Miller MVP" <> wrote in message
> news:...
>> "Dave Melvin" <> wrote in message
>> news:477D54B1-7ACA-4C9A-A9BC-...
>>> "Keith Miller MVP" <> wrote in message
>>> news:%...
>>>> In the Search box, if you type:
>>>>
>>>> name:~"*+*"
>>>>
>>>> it will return all files with the '+' character in their name.
>>>>
>>>
>>> This does not work for me. For example, I'm searching a folder for
>>> pictures
>>> with the underscore character in the name, i.e., "file_name". Using your
>>> suggestion, I type "name:~"*_*" in the search box and I get every file
>>> in
>>> the folder listed, even those with no underscore character. What's up?
>>>

>>
>> Do you get EVERY file? Or just those with a blank " " as well as an "_"?
>> That's the behavior I'm seeing. :-(
>>
>> I know that outside of quotes, certain characters were intended to be
>> interpreted as white space, but it shouldn't happen within them. Sorry,
>> I have no answer.
>>
>>
>> --
>> Good Luck,
>>
>> Keith
>> Microsoft MVP [Windows XP Shell/User]
>>
>>

>
> Keith,
> When I run the search, it shows me the first 5,000 files in the folder.
> If I click on "show all search results", it gives me 47,096 files. When I
> right-click on the folder and select properties, it tells me I have 46,082
> files in the folder!
>
> Thanks for the assist,
>
> dam


 
Reply With Quote
 
cquirke (MVP Windows shell/user)
Guest
Posts: n/a

 
      03-28-2007
On Tue, 27 Mar 2007 21:00:07 -0500, "Keith Miller MVP"

>To annoy me further, 'NOT' doesn't invert the search. I would have hoped
>that NOT(~"* *") would have returned all items without a " " in their names,
>but no such luck!!! Got the exact same result set. :-(


Quite. What a preceding ~ does is to force expansion of wildcard
characters that are otherwise either taken as literals, or ignored -
who can say, without an hour's testing and state charting, which
particular characters MS decides to ignore as white space?

Search has changed from using filespec syntax to an ad-hoc mix of
that, overlaid with a grab-bag of conventions from other contexts,
plus a few brand-new bright ideas - and we are supposed to smell which
applies in any given context.

It's become the worst of both worlds... impacting system performance,
safety and durability with the indexer's constant groping of content,
and being too unreliable to trust, in that you have no idea what it's
really doing. Sure, there are reasons for each mis-match between what
it does and what the user thinks it does, but who wants to take a
year's night-school course just to use a file search?

More to the point, every mis-match of expectations can, in certain
contexts, be a disaster. Above all else, search MUST be predictable
and match expectations, even if it is really simple in abilities.



>------------------------ ---- --- -- - - - -

The bulls were running wild
because they're big and mean and sacred (Jack J)
>------------------------ ---- --- -- - - - -

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for a Doc Brent Windows Vista General Discussion 2 02-06-2008 10:56 PM
Searching Gilbert Baron Windows Vista General Discussion 1 04-26-2007 04:02 PM
can I use AND or OR when searching? Anon E. Mouse Windows Vista File Management 2 02-16-2007 09:49 AM
What has happened to the Network Place--Redux? Hollis Paul Windows Vista General Discussion 1 01-08-2007 06:26 PM
Theme to Windows 95 redux roman modic Windows Vista General Discussion 2 08-10-2006 08:28 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59