I invoke an Everything search with the following command line
Everything64.exe -s wfn:"e1x alt-saved.txt"
Note the space inside the file name and the quotes around it.
There is no result from this search.
Using the same search in the GUI works.
Strange behaviour with filenames containing spaces
Re: Strange behaviour with filenames containing spaces
Please escape double-quotes with triple-double-quotes from the command line:
Everything64.exe -s wfn:""""e1x alt-saved.txt""""
will set the search to:
wfn:"e1x alt-saved.txt"
Command Line Options - Notes
Everything64.exe -s wfn:""""e1x alt-saved.txt""""
will set the search to:
wfn:"e1x alt-saved.txt"
Command Line Options - Notes
Last edited by void on Fri Sep 03, 2021 10:15 pm, edited 1 time in total.
Reason: """ = single literal " and we still need double quotes to escape spaces in the command line argument
Reason: """ = single literal " and we still need double quotes to escape spaces in the command line argument
Re: Strange behaviour with filenames containing spaces
That doesn't work for me.
Result is Input was
Result is Input was
Re: Strange behaviour with filenames containing spaces
Include double quotes to escape spaces in the command line argument:
Everything64.exe -s wfn:""""e1x alt-saved.txt""""
will set the search to:
wfn:"e1x alt-saved.txt"
Everything64.exe -s wfn:""""e1x alt-saved.txt""""
will set the search to:
wfn:"e1x alt-saved.txt"
Re: Strange behaviour with filenames containing spaces
I copied the solution from another thread
-s nopath:exact:#quote:#[basename:"%S1"#]:
This works for my usage from inside of Total Commander
where the files name %S1 is a parameter from TC.
-s nopath:exact:#quote:#[basename:"%S1"#]:
This works for my usage from inside of Total Commander
where the files name %S1 is a parameter from TC.