Windows Explorer Advanced Search

In windows 8.1.  Is there a way to do an advanced search in windows explorer that will only search folders that do not have a specified word in the path.  For example, I am trying to search for files older than 3 years on our network from folders that do not have the word "retain" in the path?

thank you.
Ted PezzulloVP Information TechnologyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
You can use the free Everything Search Engine to do a search based on file/folder names, including regular expressions.

It automatically scans all local drives. Not sure about network folders.

LE: looks like you can add network folders to the index database: http://www.voidtools.com/support/everything/folder_indexing/

HTH,
Dan
NVITEnd-user supportCommented:
kind:folder name:~!"retain" datemodified:<4/27/12

Open in new window


Advanced Query Syntax: https://msdn.microsoft.com/en-us/library/aa965711(v=vs.85).aspx

Advanced tips for searching in Windows: http://windows.microsoft.com/en-us/windows7/advanced-tips-for-searching-in-windows
Ted PezzulloVP Information TechnologyAuthor Commented:
Thanks guys, I ended up using the command below.  Dan, I looked at the voidtools but I could not figure out how to do what I needed.  NVIT, by the time I read your comment, I already came up with a solution.  I think you suggestion would work except I wanted to check the PATH not the folder name because any subfolders under a folder tagged with retain I also wanted eliminated from the search.

thanks,
Ted

datemodified:<4/27/2012 PATH: NOT *retain*
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

NVITEnd-user supportCommented:
> I wanted to check the PATH not the folder name because any subfolders under a folder tagged with retain I also wanted eliminated from the search

Still, you didn't specify that in your request.
Ted PezzulloVP Information TechnologyAuthor Commented:
I think I did, please read again.
NVITEnd-user supportCommented:
> I wanted to check the PATH not the folder name
Did you mean the environment variable?

My bad. You're looking for files, not folders. Apologies.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ted PezzulloVP Information TechnologyAuthor Commented:
No problem, thank you for your help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.