In searching for and working with files (mainly .jpg) I want to exclude files that are within html header folders. On my system these folders always end with _files
I’ve tried !"C:\Ni\\_files" and it seems to work (the result has nothing that is within a path terminating in _files) but I do not understand why it works.
Can anyone explain this?
cheers Nigel
Excluding items within html header folders from searches
-
unearthed
- Posts: 4
- Joined: Sun Jan 08, 2017 6:47 pm
-
void
- Developer
- Posts: 19899
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Excluding items within html header folders from searches
With Everything 1.5, expands to
! = NOT
"" = escape spaces
** = match any character any number of times.
* = match any character (except \) any number of times.
=>
=>
(the ** prefix is removed because the term starts with an absolute path C:)
path_search_type
win\\sys**win**\**sys**! = NOT
"" = escape spaces
** = match any character any number of times.
* = match any character (except \) any number of times.
!"C:\Ni\\_files"=>
!"**C:\Ni**\**_files**"=>
!"C:\Ni**\**_files**"(the ** prefix is removed because the term starts with an absolute path C:)
path_search_type
-
unearthed
- Posts: 4
- Joined: Sun Jan 08, 2017 6:47 pm
Re: Excluding items within html header folders from searches
Thanks very much void, both work very well, well they work the same in this instance, with zero errors.
cheers Nigel
cheers Nigel