Solved

How to search windows files using tags with logical expressions

Posted on 2014-02-23
6
522 Views
Last Modified: 2014-02-24
hi,
I can search for files in windows using tags on files by typing, for example:
tags: property, outdoors, brick

But if i want to exclude certain tags or perform a more complex search i can't find how to do this. Any ideas?

The windows help is not very helpful:
http://windows.microsoft.com/en-gb/windows7/advanced-tips-for-searching-in-windows

Or maybe this feature is simply not available? As a workaround i would settle for a dos command to add a temporary tag or flag to a given set so i can then use windows to select.

Thanks
0
Comment
Question by:xenium
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 54

Assisted Solution

by:Bill Prew
Bill Prew earned 50 total points
ID: 39881254
I think you can use the NOT modifier, although I don't typically search this way so not an expert.

http://windows.microsoft.com/en-us/windows-vista/tips-for-finding-files

~bp
0
 

Author Comment

by:xenium
ID: 39881343
Thanks the link was useful i was not putting NOT in capitals.

It seems to modify the result but not reliably, something funny is happening i will aim to upload a proper example tomorrow.
0
 
LVL 8

Assisted Solution

by:Amit Khilnaney
Amit Khilnaney earned 150 total points
ID: 39883162
You can use - in before word tag

tag: blue OR -tag: black

this will return pictures which are tagged with word blue or anything else but not black

you need to use OR and AND wisely and with parentheses if required.

Waiting for your example for further suggestions.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:xenium
ID: 39883293
Amit, isn't blue OR anything else, just anything else? !!

Anyway, NOT now seems to be working ok, eg

example 10 files:
https://www.dropbox.com/sh/p16tjoo1fay2nv5/EMy5iqz_P0

2 files returned by:  tags: f61 NOT common
8 files returned by:  tags: NOT flat2
3 files returned by:  tags: F61 NOT (oddj OR heat)
4 files returned by:  tags: (oddj OR heat) NOT smp

I will do some more tests to confirm if ok.
0
 
LVL 8

Accepted Solution

by:
Amit Khilnaney earned 150 total points
ID: 39883337
for just anything else which is not f61

NOT tag: f61
or
- tag: f61


well you can either use NOT or -

i prefer - instead of NOT as it reduces typing effort but typing NOT improves readability of query for others.

This will help you to formulate your queries better.

More help here:
http://blogs.windows.com/windows/archive/b/windowsvista/archive/2007/05/09/advanced-search-techniques.aspx



or

http://windows.microsoft.com/en-in/windows7/advanced-tips-for-searching-in-windows
0
 

Author Comment

by:xenium
ID: 39884078
hi Amit, ok yes i see blue or not black includes black where file is also tagged blue... brain hurting now!

Thanks for the extra explanation and links, looks like this will cover anything I may need here.

Cheers
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question