How can i make certain file types show up first in search results?
How can i make certain file types show up first in search results?
I want .exe to show up first, then everything else, how can i do this?
-
- Posts: 501
- Joined: Thu Dec 15, 2016 9:44 pm
Re: How can i make certain file types show up first in search results?
I supposed this can be generalised by being able to specify specific extensions as having a sort-as value, for example if png were given a sort as value of "jpg" it would extension-order-sort to be intermingled with the jpg files, or if jpgp would sort after them. avi might likewise be given the code mp4 to fall with them. For exe to be at the front I suppose in this scenario it could be give the code 0 or something at the start of the alphabet...
d
d
Re: How can i make certain file types show up first in search results?
Consider using the Run Count property and sorting by Run Count:
Thank you for the suggestion.
- In Everything, type in the following search:
*.exe - Select all files (Ctrl + A)
- From the File menu, click Set Run Count....
- Change Run Count to a high number (eg: 1000)
- Click OK.
- Right click the result list column header and check Run Count.
- Click the Run Count column header to sort by run count.
Thank you for the suggestion.
Re: How can i make certain file types show up first in search results?
Everything 1.5a has the following search:
regex:\.(exe)$ | nohighlight:regex:.* sort:regmatch1-descending;name-ascending
To create a filter to sort by exe first:
regex:\.(exe)$ | nohighlight:regex:.* sort:regmatch1-descending;name-ascending
To create a filter to sort by exe first:
- In Everything 1.5, from the Search menu, click Add to Filters....
- Change the Name to:
EXE First - Change the Search to:
regex:\.(exe)$ | nohighlight:regex:.* sort:regmatch1-descending;name-ascending - Click OK.
Re: How can i make certain file types show up first in search results?
Can we adjust this Regex to a sequence of parameters like
regex:\.(exe docx xlsx *)$ | nohighlight:regex:.* sort:regmatch1-descending;date-descending
or something like that?
regex:\.(exe docx xlsx *)$ | nohighlight:regex:.* sort:regmatch1-descending;date-descending
or something like that?
Re: How can i make certain file types show up first in search results?
This regex can be adjusted to be possible to order a sequence of extesions? like
regex:\.(exe docx xlsx *)$ | nohighlight:regex:.* sort:regmatch1-descending;date-descending
I'm using the operators sequence OR > AND
regex:\.(exe docx xlsx *)$ | nohighlight:regex:.* sort:regmatch1-descending;date-descending
I'm using the operators sequence OR > AND
Re: How can i make certain file types show up first in search results?
Please try:
However, this sorts by extension.
I'll look into adding a way to mix the extensions.
Code: Select all
file:regex:\.(exe|docx|xlsx)$ | nohighlight:regex:.* sort:regmatch1-descending;date-descending
I'll look into adding a way to mix the extensions.