Solved

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

Posted on 2014-11-02
11
91 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 93

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

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
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.
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…

770 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