Solved: How not search in Program Files

General discussion related to "Everything".
Post Reply
westpoint2
Posts: 3
Joined: Mon Nov 05, 2018 11:43 am

Solved: How not search in Program Files

Post by westpoint2 »

Trying to filter search results for .cpp files

.cpp !C:\Users\Me\Desktop\Windows-classic-samples-master dc:>=5/11/2016

Managed to get rid of fat desktop project
but whatever I do, cant get rid of any paths with "Program Files"-part of path

g:\Program Files...
c:\Program Files (86)..
d:\backup\some Program Files...

HOW TO NOT search fragment of folder name with space inside? If you can please don't use regex.
!"Program Files" not working, and many combinations I tried.

PLEASE HELP!
Thank you.
Last edited by westpoint2 on Tue Nov 06, 2018 3:07 pm, edited 1 time in total.
westpoint2
Posts: 3
Joined: Mon Nov 05, 2018 11:43 am

Re: How not search in Program Files

Post by westpoint2 »

Managed to filter out Program Files with !"\program files"

but it has first backslash and I cant filter out - "just in case"
with !"just in case" without using backslashes

J:\Big_8 2018 just in case\..long path after it

SO THE PROBLEM stays actual - How to filter out inside-path combination with SPACE,SPACES in between. AND not using backslashes.
therube
Posts: 4982
Joined: Thu Sep 03, 2009 6:48 pm

Re: How not search in Program Files

Post by therube »

Try,

!path:"just in case"

Or,

Search (menu) | Match Path
westpoint2
Posts: 3
Joined: Mon Nov 05, 2018 11:43 am

Solved: How not search in Program Files

Post by westpoint2 »

Thank you therube for quick reply, you were very helpful
and SOLVED my problem, I wouldn't deduct right option by myself.

Great community. Very pleased!
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Solved: How not search in Program Files

Post by NotNull »

Adding to @therube's solutions and ignoring:
westpoint2 wrote: Mon Nov 05, 2018 12:23 pm How to filter out inside-path combination with SPACE,SPACES in between. AND not using backslashes.
!"*\*just in case*\*" will exclude all folders with "just in case" somewhere in it's path.
(when Everything sees a "\" it will assume that you want to search the path)
Post Reply