I have 60K files on my C drive with no extension. I wish to exclude all such files from Everything.
I searched forum for this, but found nothing helpful.
I have tried *.dll;*. and *.dll;*."" and neither excluded files with no extension.
Is there a way to accomplish this?
Version 1.5.0.1416b (x64), win 10 22H2
Exclude Files with No Extension?
-
NotNull
- Posts: 5988
- Joined: Wed May 24, 2017 9:22 pm
Re: Exclude Files with No Extension?
I'm assuming you want to permanently exclude those files under Menu > Tools > Options > Indexes > Exclude?
Then try the following:
Include only files =
Exclude files =
In the search bar, files without extension can be excluded by adding to the search query
Then try the following:
Include only files =
*.*Exclude files =
*.dllIn the search bar, files without extension can be excluded by adding
!ext:-
void
- Developer
- Posts: 20194
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Exclude Files with No Extension?
To exclude dll files and files with no extension, please try the following exclude filter:
*.dll;regex:^[^.]*$-
hamid56
- Posts: 44
- Joined: Sun Jul 20, 2014 9:38 am
Re: Exclude Files with No Extension?
in completing David guidance we have 3 another method for excluding no-ext files:i appreciate any person that mention another reasonable method(without adding * or " to current commands).
file:!.
ext:
file: !regex:\.
file: regex:^[^.]*$
file:!.
ext:
file: !regex:\.
file: regex:^[^.]*$
-
TheSQLG0d
- Posts: 7
- Joined: Fri Oct 27, 2023 6:45 pm
Re: Exclude Files with No Extension?
It seems that this was a good thing to inquire about. Thank you for the inputs!
I added regex:^[^.]*$ to my existing list of extentions to exclude, and it immediately removed all of the files I had showing in a search that included files with and without extensions.
SUGGESTION: Please include these options as an entry in the FAQ and/or documentation. It would seem to be something others would want, and the solution is not obvious (to those without good regex knowledge anyway).
I added regex:^[^.]*$ to my existing list of extentions to exclude, and it immediately removed all of the files I had showing in a search that included files with and without extensions.
SUGGESTION: Please include these options as an entry in the FAQ and/or documentation. It would seem to be something others would want, and the solution is not obvious (to those without good regex knowledge anyway).