Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to search windows files using tags with logical expressions

Posted on 2014-02-23
6
Medium Priority
?
527 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 57

Assisted Solution

by:Bill Prew
Bill Prew earned 200 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 600 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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 600 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

Technology Partners: 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!

Question has a verified solution.

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

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…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses

704 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