Solved

Windows 7 search syntax - all folders containing word "Users"

Posted on 2014-11-02
11
86 Views
Last Modified: 2014-12-14
I need to do a search on drive with the following criteria:

Content:  "Some Content"

Over all folders that contain the word "Users".  I have a subdirectory structure containing backup dates and directory trees.

2007-01-01
    Data
    Users
         User1
         User2
         ...
2007-04-01
   Data
        User1
        User2
        ...
I'm only interested in the files under the various Users subdirectories.  2007-01-01\users\user1, user2, ... and 2007-01-04\users\user1, user2, ...

How do I contruct a Windows Search query such that I only look for content:"Some Content" in files with "Users" somewhere in the pathname?
0
Comment
Question by:JRuiter
  • 3
  • 2
  • 2
  • +2
11 Comments
 
LVL 13

Expert Comment

by:Rizzle
ID: 40418354
Maybe this Windows Search guide may help?

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

Also I would advise you to look into a tool called Treesize which has been very helpful for searches in the past for me.
0
 
LVL 90

Expert Comment

by:John Hurst
ID: 40418355
Open Windows Explorer, navigate to the top of the Users tree, in the top right Search Bar, enter "Some Content" in quotes and let it search. It should find what you want. If there are a lot of answers, select View All at the bottom and it will open another Explorer window with all the selections.

Narrow your search with more precise text to be found.
0
 
LVL 13

Expert Comment

by:akb
ID: 40418461
I have found WIndows Search to be unreliable and returns many results I'm not interested in. If I search for "Users" it will return all files with "users" in the file name as well as files which contain the word "users". It doesn't always return all occurrences of files containing "users". It may be that my indexes are corrupt or I just don't know what I'm doing but either way it doesn't work for me.
I use a product called FileSeek. It has very powerful search options, is very fast, easy to use and I can be confident it will return what I'm searching for.
You can find FileSeek here: http://www.fileseek.ca/
0
 
LVL 90

Expert Comment

by:John Hurst
ID: 40418462
If the index is properly set up and built, Search always works for me. It is certainly worth trying.
0
 

Author Comment

by:JRuiter
ID: 40418541
I'm searching over 3TB of data, so I don't want to look at every file.  I'm *only* interested in the files in the various User directories.  If I wrote it in SQL it would be something like:

select all files where content like 'some content' and directoryname like '%users%'

Can I construct an equivalent windows search query?

I've tried things like foldername: *Users*, but I only get things in a single Users directory - I want the Users directory and all the subfolders.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 13

Expert Comment

by:Rizzle
ID: 40418569
0
 

Accepted Solution

by:
JRuiter earned 0 total points
ID: 40448027
Turns out Windows Search is simply too limited to perform as I require.  I download PowerGrep, which is extremely powerful and does what I need it to do.
0
 
LVL 13

Expert Comment

by:akb
ID: 40488591
The author stated "Turns out Windows Search is simply too limited to perform as I require".  This backs up what I stated in my comment. I suggested FileSeek which would have achieved what the author wanted. It seems he ignored my comment and found another product to do the same job.
0
 

Author Comment

by:JRuiter
ID: 40496850
Turns out Windows search simply isn't powerful enough to do what I need.  I got PowerGrep and it works well.  Highly recommended
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 40498723
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

After playing around with my ASUS 1215n (http://www.asus.de/product.aspx?P_ID=HrglRhH8D60Rmlv3) Netbook, I finally managed to get smooth HD 1080p (http://en.wikipedia.org/wiki/1080p) playback of videos on it. Second Generation Intel Atom (http://en.…
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now