Solved

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

Posted on 2014-11-02
11
89 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 92

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 92

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Disk Full 16 65
Two systems one speaker system re-question 29 70
Configuring windows 7 host in Nagios 4 5 42
pre-selecting applications in MDT 7 15
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…
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.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
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…

896 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

14 Experts available now in Live!

Get 1:1 Help Now