The following search from Total Commander no longer works after the update.
It should find all occurrences of the simple filename across the system.
C:\Tools\Everything\Everything64.exe -s nopath:exact:#quote:#[basename:"%S1"#]:
%S1 stands for the full path of one selected filename.
I found another simple solution, but for interest, what is wrong with this ?
Search with preprocessor no longer works in 1.5.0.1385
Re: Search with preprocessor no longer works in 1.5.0.1385
Thank you for the issue report horst.epp,
There's major changes to the preprocessor #[function:...#]: syntax in Everything 1.5.0.1384a.
#[function:...#]: now requires #,: to separate parameters.
For example:
#[function:...#]: will now treat quotes (") literally.
#[function:...#]: is for rewriting complete text.
[function:...] is for rewriting terms.
I am aware these changes will break a lot of existing searches.
However, I was not happy with the old preprocessor syntax and it need changing.
I would rather do this now in alpha than later.
Please don't use #[basename:#]: from the command line.
Please use [basename:]
It's cleaner and you don't have to worry about quoting things.
If you run into any issues with the preprocessor changes, please let me know.
I will be more than happy to get things going with the new syntax.
There's major changes to the preprocessor #[function:...#]: syntax in Everything 1.5.0.1384a.
#[function:...#]: now requires #,: to separate parameters.
For example:
#[text:value#,:YYYY-MM-DD#]:
#[function:...#]: will now treat quotes (") literally.
#[function:...#]: is for rewriting complete text.
[function:...] is for rewriting terms.
I am aware these changes will break a lot of existing searches.
However, I was not happy with the old preprocessor syntax and it need changing.
I would rather do this now in alpha than later.
Please don't use #[basename:#]: from the command line.
Please use [basename:]
C:\Tools\Everything\Everything64.exe -s nopath:exact:[basename:"%S1"]
It's cleaner and you don't have to worry about quoting things.
If you run into any issues with the preprocessor changes, please let me know.
I will be more than happy to get things going with the new syntax.
Re: Search with preprocessor no longer works in 1.5.0.1385
Thanks for the info.
Your example works fine.
I will look for other usages I may have.
Your example works fine.
I will look for other usages I may have.