Solved

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

Posted on 2014-11-02
11
95 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
[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
  • 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 95

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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 95

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FSRREMOS 7 114
Why do itunes files not play? 17 60
Downgrade to Windows 7 Clean 4 67
Can't install KB4019264 Error details: Code 80073701 Any advice? 19 15
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

734 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