By Default - Excluding all files that end with .url or .lnk
By Default - Excluding all files that end with .url or .lnk
Hi All,
I would like to, by default, exclude all files that end with ".url" or ".lnk".
Any thoughts?
Thanks,
Paul.
I would like to, by default, exclude all files that end with ".url" or ".lnk".
Any thoughts?
Thanks,
Paul.
Re: By Default - Excluding all files that end with .url or .lnk
It never fails - moments after asking the question I figure it out...
I just added !.url !.lnk to the search window and was able to save it as a Search...
It would be nice if there was some sort of drop down to remind you which "search" is current and be able to change it.
Thanks,
Paul.
I just added !.url !.lnk to the search window and was able to save it as a Search...
It would be nice if there was some sort of drop down to remind you which "search" is current and be able to change it.
Thanks,
Paul.
Re: By Default - Excluding all files that end with .url or .lnk
I know the feeling
One option:
- Type the following in the search bar:
!ext:url;lnk
- Menu:Search > Add to Filters
- Give your new filter a name; something like No shortcuts
- Enable the filter bar: Menu:View > Filters
Now you can select your No shortcutsfilter from the dropdown list next to the search bar. - Select your default filter: Menu:Tools > Options > General > Home : Filter = No shortcuts
Now every time you open Everything, the No shortcuts filters will be selected.
Re: By Default - Excluding all files that end with .url or .lnk
Thank you - I was almost there.
Appreciated the help!
Appreciated the help!
Re: By Default - Excluding all files that end with .url or .lnk
Ok - so trying to approach perfection - see if this can be solved.
I did as you recommended. I click on a row, the click back into the search text field and it selects my "!.url !.lnk " - which if I just type, gets typed over.
So first click selects it all, then second click I can enter my new search terms...
BTW - I just read yours more closely and have used !ext:url;lnk
Thoughts?
Thanks again,
Paul.
I did as you recommended. I click on a row, the click back into the search text field and it selects my "!.url !.lnk " - which if I just type, gets typed over.
So first click selects it all, then second click I can enter my new search terms...
BTW - I just read yours more closely and have used !ext:url;lnk
Thoughts?
Thanks again,
Paul.
Last edited by parisi on Wed Jan 19, 2022 8:19 pm, edited 1 time in total.
Re: By Default - Excluding all files that end with .url or .lnk
You also said "by default" so I assume you mean "all the time." One way to accomplish this is to Exclude these filetypes from ever being indexed in the first place.
Tools -> Options -> Indexes -> Exclude -> Exclude files: *.url;*.lnk
Tools -> Options -> Indexes -> Exclude -> Exclude files: *.url;*.lnk
Re: By Default - Excluding all files that end with .url or .lnk
What would you like to happen when you go back to the search bar?
Re: By Default - Excluding all files that end with .url or .lnk
Sorry, let me try to be clearer...
I have my new Search saved and it automatically opens when I launch everything. This includes the !ext:url;lnk exclusion.
The text !ext:url;lnk is in the search box when I open Everything. Good so far.
When I click in the Search box the cursor selects the text there (!ext:url;lnk) and I have either click a second time or press the right arrow to be able to change my search.
I don't think this is possible to fix.
Thanks,
Paul.
I have my new Search saved and it automatically opens when I launch everything. This includes the !ext:url;lnk exclusion.
The text !ext:url;lnk is in the search box when I open Everything. Good so far.
When I click in the Search box the cursor selects the text there (!ext:url;lnk) and I have either click a second time or press the right arrow to be able to change my search.
I don't think this is possible to fix.
Thanks,
Paul.
Re: By Default - Excluding all files that end with .url or .lnk
Enter the following search in the Everything search bar and press ENTER:
Optional:
Enter the following search in the Everything search bar and press ENTER:
This will move the cursor to the end of the query when you click in the searchbar.
/search_edit_move_caret_to_selection_end=0 will position the cursor where you click.
A bit closer to perfection?
BTW": Did you save your search as a bookmark or as a filer? A filter usually doesn't show the search text.
Code: Select all
/select_search_on_mouse_click=0
Optional:
Enter the following search in the Everything search bar and press ENTER:
Code: Select all
/search_edit_move_caret_to_selection_end=1
/search_edit_move_caret_to_selection_end=0 will position the cursor where you click.
A bit closer to perfection?
BTW": Did you save your search as a bookmark or as a filer? A filter usually doesn't show the search text.
Re: By Default - Excluding all files that end with .url or .lnk
One way be to click and have the cursor at the end of the current text, this would be an option when the Search Filter is created/saved.
My ideal would be to have a UI check box or radio button that turns off the exclusions !ext:url;lnk.
I.e. the search text is not in the Search text.
Just an exclusions button that shows what you are turning off and on. Or perhaps two search boxes, one for general settings like my exclusions and another to type what you are searching for. With a check box.
WAIT - now that I try it again after restarting ET, the search box does not have the !ext:url;lnk verbs in it. So maybe it just is set in the background and the only way you know is by looking at the current Search that is chosen.
Here is one idea:
I understand the rat hole this could become.
My ideal would be to have a UI check box or radio button that turns off the exclusions !ext:url;lnk.
I.e. the search text is not in the Search text.
Just an exclusions button that shows what you are turning off and on. Or perhaps two search boxes, one for general settings like my exclusions and another to type what you are searching for. With a check box.
WAIT - now that I try it again after restarting ET, the search box does not have the !ext:url;lnk verbs in it. So maybe it just is set in the background and the only way you know is by looking at the current Search that is chosen.
Here is one idea:
I understand the rat hole this could become.
Re: By Default - Excluding all files that end with .url or .lnk
See the post before yours.
Different than switching between back and forth between the "Everything -lnk and url" and "Everything" filter?
Menu:View > Go to > Home (or pressing ALT + HOME) to start clean.