Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > search syntax

Reply
Thread Tools Display Modes

search syntax

 
 
Vista Newbie
Guest
Posts: n/a

 
      07-24-2008
In Windows XP (and all previous versions of Windows that I can recall going
back to Win95) one could search for multiple words separated by commas, e.g.
*.jpg,*.bmp.

How do I do that in Vista?

 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      07-24-2008
Using Boolean filters is another way to perform a more precise search.
Boolean filters let you combine search words using simple logic, as you can
see in the following table.

Filter
Example
Use this to

AND
tropical AND island
Find files that contain both words "tropical" and "island" (even if those
words are not right next to each other).

NOT
tropical NOT island
Find files that contain the word "tropical," but not "island."

OR
tropical OR island
Find files that contain either of the words "tropical" or "island."

Quotes
"tropical island"
Find files that contain the exact phrase "tropical island."

Parentheses
(tropical island)
Find files that contain both words "tropical" and "island," in any order.

>

date: >01/05/06
Find files that are more than or later than a certain value, such as after
01/05/06.

<
size: < 4 MB
Find files that are less than or earlier than a certain value, such as less
than 4 MB. You can also specify other sizes, such as KB and GB.



--
Please use the Communities guidelines when posting.
http://www.microsoft.com/wn3/locales...help_en-us.htm
Use the "Ratings" feature. It helps the new users.
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson

"Vista Newbie" <> wrote in message
news:81C2789A-F4D0-44D9-9807-...
> In Windows XP (and all previous versions of Windows that I can recall
> going back to Win95) one could search for multiple words separated by
> commas, e.g. *.jpg,*.bmp.
>
> How do I do that in Vista?


 
Reply With Quote
 
Vista Newbie
Guest
Posts: n/a

 
      07-24-2008
Thanks. I am familiar with Boolean searches. I'd tried this and I must be
searching from the wrong place because when I search for "mp3", I get over
5000 entries. Vista stops at 5000 and requests a user instruction to
display all results. If I add an operator, e.g. mp3 AND m4a, I get zero
results. Searching shouldn't be that difficult and counter-intuitive.

"Mark L. Ferguson" <> wrote in
message news:E33473F2-0751-4143-80EF-...
> Using Boolean filters is another way to perform a more precise search.
> Boolean filters let you combine search words using simple logic, as you
> can see in the following table.
>
> Filter
> Example
> Use this to
>
> AND
> tropical AND island
> Find files that contain both words "tropical" and "island" (even if those
> words are not right next to each other).
>
> NOT
> tropical NOT island
> Find files that contain the word "tropical," but not "island."
>
> OR
> tropical OR island
> Find files that contain either of the words "tropical" or "island."
>
> Quotes
> "tropical island"
> Find files that contain the exact phrase "tropical island."
>
> Parentheses
> (tropical island)
> Find files that contain both words "tropical" and "island," in any order.
>
>>

> date: >01/05/06
> Find files that are more than or later than a certain value, such as after
> 01/05/06.
>
> <
> size: < 4 MB
> Find files that are less than or earlier than a certain value, such as
> less than 4 MB. You can also specify other sizes, such as KB and GB.
>
>
>
> --
> Please use the Communities guidelines when posting.
> http://www.microsoft.com/wn3/locales...help_en-us.htm
> Use the "Ratings" feature. It helps the new users.
> Mark L. Ferguson MS-MVP
> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>
> "Vista Newbie" <> wrote in message
> news:81C2789A-F4D0-44D9-9807-...
>> In Windows XP (and all previous versions of Windows that I can recall
>> going back to Win95) one could search for multiple words separated by
>> commas, e.g. *.jpg,*.bmp.
>>
>> How do I do that in Vista?

>

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      07-24-2008
You would not use AND to find both .mp3 and .m4a files, you would use mp3 OR
m4a. ( the query states, 'does this file contain either mp3 OR m4a?')
Boolean logic may not be intuitive, but is logical, by definition.

--
Please use the Communities guidelines when posting.
http://www.microsoft.com/wn3/locales...help_en-us.htm
Use the "Ratings" feature. It helps the new users.
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson

"Vista Newbie" <> wrote in message
news:413BA853-6D5A-468D-A06D-...
> Thanks. I am familiar with Boolean searches. I'd tried this and I must
> be searching from the wrong place because when I search for "mp3", I get
> over 5000 entries. Vista stops at 5000 and requests a user instruction to
> display all results. If I add an operator, e.g. mp3 AND m4a, I get zero
> results. Searching shouldn't be that difficult and counter-intuitive.
>
> "Mark L. Ferguson" <> wrote in
> message news:E33473F2-0751-4143-80EF-...
>> Using Boolean filters is another way to perform a more precise search.
>> Boolean filters let you combine search words using simple logic, as you
>> can see in the following table.
>>
>> Filter
>> Example
>> Use this to
>>
>> AND
>> tropical AND island
>> Find files that contain both words "tropical" and "island" (even if those
>> words are not right next to each other).
>>
>> NOT
>> tropical NOT island
>> Find files that contain the word "tropical," but not "island."
>>
>> OR
>> tropical OR island
>> Find files that contain either of the words "tropical" or "island."
>>
>> Quotes
>> "tropical island"
>> Find files that contain the exact phrase "tropical island."
>>
>> Parentheses
>> (tropical island)
>> Find files that contain both words "tropical" and "island," in any order.
>>
>>>

>> date: >01/05/06
>> Find files that are more than or later than a certain value, such as
>> after 01/05/06.
>>
>> <
>> size: < 4 MB
>> Find files that are less than or earlier than a certain value, such as
>> less than 4 MB. You can also specify other sizes, such as KB and GB.
>>
>>
>>
>> --
>> Please use the Communities guidelines when posting.
>> http://www.microsoft.com/wn3/locales...help_en-us.htm
>> Use the "Ratings" feature. It helps the new users.
>> Mark L. Ferguson MS-MVP
>> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>>
>> "Vista Newbie" <> wrote in message
>> news:81C2789A-F4D0-44D9-9807-...
>>> In Windows XP (and all previous versions of Windows that I can recall
>>> going back to Win95) one could search for multiple words separated by
>>> commas, e.g. *.jpg,*.bmp.
>>>
>>> How do I do that in Vista?

>>

 
Reply With Quote
 
Vista Newbie
Guest
Posts: n/a

 
      07-24-2008
Obviously, I'm just getting older... not smarter. I can't believe I was
using the "AND" operator. Thanks, Mark.

"Mark L. Ferguson" <> wrote in
message news:...
> You would not use AND to find both .mp3 and .m4a files, you would use mp3
> OR m4a. ( the query states, 'does this file contain either mp3 OR m4a?')
> Boolean logic may not be intuitive, but is logical, by definition.
>
> --
> Please use the Communities guidelines when posting.
> http://www.microsoft.com/wn3/locales...help_en-us.htm
> Use the "Ratings" feature. It helps the new users.
> Mark L. Ferguson MS-MVP
> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>
> "Vista Newbie" <> wrote in message
> news:413BA853-6D5A-468D-A06D-...
>> Thanks. I am familiar with Boolean searches. I'd tried this and I must
>> be searching from the wrong place because when I search for "mp3", I get
>> over 5000 entries. Vista stops at 5000 and requests a user instruction
>> to display all results. If I add an operator, e.g. mp3 AND m4a, I get
>> zero results. Searching shouldn't be that difficult and
>> counter-intuitive.
>>
>> "Mark L. Ferguson" <> wrote in
>> message news:E33473F2-0751-4143-80EF-...
>>> Using Boolean filters is another way to perform a more precise search.
>>> Boolean filters let you combine search words using simple logic, as you
>>> can see in the following table.
>>>
>>> Filter
>>> Example
>>> Use this to
>>>
>>> AND
>>> tropical AND island
>>> Find files that contain both words "tropical" and "island" (even if
>>> those words are not right next to each other).
>>>
>>> NOT
>>> tropical NOT island
>>> Find files that contain the word "tropical," but not "island."
>>>
>>> OR
>>> tropical OR island
>>> Find files that contain either of the words "tropical" or "island."
>>>
>>> Quotes
>>> "tropical island"
>>> Find files that contain the exact phrase "tropical island."
>>>
>>> Parentheses
>>> (tropical island)
>>> Find files that contain both words "tropical" and "island," in any
>>> order.
>>>
>>>>
>>> date: >01/05/06
>>> Find files that are more than or later than a certain value, such as
>>> after 01/05/06.
>>>
>>> <
>>> size: < 4 MB
>>> Find files that are less than or earlier than a certain value, such as
>>> less than 4 MB. You can also specify other sizes, such as KB and GB.
>>>
>>>
>>>
>>> --
>>> Please use the Communities guidelines when posting.
>>> http://www.microsoft.com/wn3/locales...help_en-us.htm
>>> Use the "Ratings" feature. It helps the new users.
>>> Mark L. Ferguson MS-MVP
>>> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>>>
>>> "Vista Newbie" <> wrote in message
>>> news:81C2789A-F4D0-44D9-9807-...
>>>> In Windows XP (and all previous versions of Windows that I can recall
>>>> going back to Win95) one could search for multiple words separated by
>>>> commas, e.g. *.jpg,*.bmp.
>>>>
>>>> How do I do that in Vista?
>>>

 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      07-24-2008
You can search for "kindics" or "kindictures" which is quick & easy,
then sort the results by type.
Or, search for
"ext:jpg OR ext:bmp"

http://www.microsoft.com/windows/pro.../advquery.mspx



--
Vista Home Premium 32 SP1
http://get.live.com/wlmail/overview


"Vista Newbie" <> wrote in message
news:413BA853-6D5A-468D-A06D-...
> Thanks. I am familiar with Boolean searches. I'd tried this and I must
> be searching from the wrong place because when I search for "mp3", I get
> over 5000 entries. Vista stops at 5000 and requests a user instruction to
> display all results. If I add an operator, e.g. mp3 AND m4a, I get zero
> results. Searching shouldn't be that difficult and counter-intuitive.
>
> "Mark L. Ferguson" <> wrote in
> message news:E33473F2-0751-4143-80EF-...
>> Using Boolean filters is another way to perform a more precise search.
>> Boolean filters let you combine search words using simple logic, as you
>> can see in the following table.
>>
>> Filter
>> Example
>> Use this to
>>
>> AND
>> tropical AND island
>> Find files that contain both words "tropical" and "island" (even if those
>> words are not right next to each other).
>>
>> NOT
>> tropical NOT island
>> Find files that contain the word "tropical," but not "island."
>>
>> OR
>> tropical OR island
>> Find files that contain either of the words "tropical" or "island."
>>
>> Quotes
>> "tropical island"
>> Find files that contain the exact phrase "tropical island."
>>
>> Parentheses
>> (tropical island)
>> Find files that contain both words "tropical" and "island," in any order.
>>
>>>

>> date: >01/05/06
>> Find files that are more than or later than a certain value, such as
>> after 01/05/06.
>>
>> <
>> size: < 4 MB
>> Find files that are less than or earlier than a certain value, such as
>> less than 4 MB. You can also specify other sizes, such as KB and GB.
>>
>>
>>
>> --
>> Please use the Communities guidelines when posting.
>> http://www.microsoft.com/wn3/locales...help_en-us.htm
>> Use the "Ratings" feature. It helps the new users.
>> Mark L. Ferguson MS-MVP
>> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>>
>> "Vista Newbie" <> wrote in message
>> news:81C2789A-F4D0-44D9-9807-...
>>> In Windows XP (and all previous versions of Windows that I can recall
>>> going back to Win95) one could search for multiple words separated by
>>> commas, e.g. *.jpg,*.bmp.
>>>
>>> How do I do that in Vista?

>>

 
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
syntax for batch file geotso Windows Vista File Management 1 05-05-2008 01:40 AM
robocopy syntax littleriver Windows Vista General Discussion 3 02-01-2008 03:37 PM
"invalid STORE command syntax invalid message set syntax" Catullus Nacakus Windows Vista Mail 6 01-26-2008 10:46 PM
need syntax carmine934 Windows Vista Hardware 0 06-02-2007 05:03 PM
Natural Query Syntax Alan Simpson Windows Vista File Management 0 07-10-2006 07:30 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