On my PC I have gathered together many shortcuts and put them in one folder. Can I set up Everything to hide shortcuts in the results in general, but to show them just for this particular folder?
In "Options > Indexes > Exclude", I have this entry "*.lnk" (without quotes).
However this excludes .lnk files everywhere, which is not what I want. Is it possible to achieve what I want to do?
Overriding the EXCLUDE file mask (in Options)
Re: Overriding the EXCLUDE file mask (in Options)
The Exclude files syntax allows paths
so try to make an entry like this
c:\mypath\*.lnk
so try to make an entry like this
c:\mypath\*.lnk
Re: Overriding the EXCLUDE file mask (in Options)
It is possible, although not completely straightforward.
Example:
For a path like C:\Tools\ specify the following in the Exclude files field
Code: Select all
regex:^(?!C:\\Tools\\).*\.lnk
Re: Overriding the EXCLUDE file mask (in Options)
That sounds interesting. Can you help me with the Regex. How do I specify the following correctly in Regex?
Code: Select all
C:\Documents and Settings\Nemo\#NEMO-TASKBAR MENUS\NG\*.lnk
Re: Overriding the EXCLUDE file mask (in Options)
Try the following:
folder will be shown.
( Note to self: Don't use "" here; regex:"..." fails.)
- Go to menu:Tools => Options => Indexes => Exclude
- In the Exclude files: filed, paste the following:
Code: Select all
regex:^(?!C:\\Documents and Settings\\Nemo\\#NEMO-TASKBAR MENUS\\NG\\).*\.lnk$
- Press the OK button
- Wait until Everything finished updating its database
- In the search bar, type the following:
Code: Select all
ext:lnk
folder will be shown.
( Note to self: Don't use "" here; regex:"..." fails.)
Re: Overriding the EXCLUDE file mask (in Options)
Yes, that Regex works. Thank you!