File name searching with Everything
File name searching with Everything
Hi,
I want to make a suggestion and I didn't know if it's possible in version alpha 1.5
My suggestion is searching for file name with everything by making right click on file name in windows then from context menu "Search with Everything", so the Everything will take the file name and search for it in computer.
Thanks
I want to make a suggestion and I didn't know if it's possible in version alpha 1.5
My suggestion is searching for file name with everything by making right click on file name in windows then from context menu "Search with Everything", so the Everything will take the file name and search for it in computer.
Thanks
Re: File name searching with Everything
Thanks void
I found some issues because it search for (filepath + filename + extension) although using -filename parameter
After searching in this forum, I found using -name-part parameter to search for filename only without filepath and extension
Here is the registry code
Thanks
I found some issues because it search for (filepath + filename + extension) although using -filename parameter
After searching in this forum, I found using -name-part parameter to search for filename only without filepath and extension
Here is the registry code
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\Shell\Search FileName in Everything...]
"icon"=" C:\\Program Files\\Everything\\Everything64.exe,0"
[HKEY_CLASSES_ROOT\*\Shell\Search FileName in Everything...\command]
@="\"C:\\Program Files\\Everything\\Everything64.exe\" -name-part \"%1\" -select \"%1\""
Re: File name searching with Everything
Dear void,
The current code
Suppose my filename is Hello.txt
The code will look for "Hello.txt"
So how to search for Hello only without quotation and extension?
Because the current code search for exact name, but I want similar file name plus minus a word or a character.
Thanks
The current code
Code: Select all
"C:\Program Files\Everything\Everything64.exe" -name-part "%1" -select "%1"
The code will look for "Hello.txt"
So how to search for Hello only without quotation and extension?
Because the current code search for exact name, but I want similar file name plus minus a word or a character.
Thanks
Re: File name searching with Everything
Thanks so much void
But what for quotation marks? are they affect search results?
Dear void,
My file name is
How to Write a Systematic Review.mp4
I have the same file under the name
5. How to Write a Systematic Review.mp4
When I search, it search for exact name which does find the second file (5. How to Write a Systematic Review.mp4), although match case and match whole words are disabled. Furthermore, I enabled the option Ignore punctuation but not fixed. It require deleting 5. To find the second file.
So how to resolve that? with my special thanks.
But what for quotation marks? are they affect search results?
Dear void,
My file name is
How to Write a Systematic Review.mp4
I have the same file under the name
5. How to Write a Systematic Review.mp4
When I search, it search for exact name which does find the second file (5. How to Write a Systematic Review.mp4), although match case and match whole words are disabled. Furthermore, I enabled the option Ignore punctuation but not fixed. It require deleting 5. To find the second file.
So how to resolve that? with my special thanks.
Re: File name searching with Everything
%1 is replaced with your filename.
For example: C:\users\user\documents\5. How to Write a Systematic Review.mp4
[stem:"%1"]
is then replaced with:
[stem:"C:\users\user\documents\5. How to Write a Systematic Review.mp4"]
which is processed as:
"5. How to Write a Systematic Review.mp4"
If you don't want the quotes, use:
To strip the digit. space prefix:
edit:
old:
For example: C:\users\user\documents\5. How to Write a Systematic Review.mp4
[stem:"%1"]
is then replaced with:
[stem:"C:\users\user\documents\5. How to Write a Systematic Review.mp4"]
which is processed as:
"5. How to Write a Systematic Review.mp4"
If you don't want the quotes, use:
"C:\Program Files\Everything\Everything64.exe" -s #stem:"%1"
To strip the digit. space prefix:
edit:
"C:\Program Files\Everything\Everything64.exe" -s [regexreplace:[stem:"%1"],"\d+\. ",""]
old:
"C:\Program Files\Everything\Everything64.exe" -s #[regexreplace:#[stem:"%1"#]:,"\d+\. ",""#]:
Re: File name searching with Everything
Dear void,
This is not practical because I can't go to Regedit every time when I want to search as you know the file names is not static.
Ok the quotes not appeared but it search for Filepath + Name + extension as following
Video Downloader\5. How to Write a Systematic Review.mp4
I think this is ok now as both files appear in search results
How to Write a Systematic Review
5. How to Write a Systematic Review
Thanks again void
Best Regards
Re: File name searching with Everything
Dear void,
The above code works perfectly since 9/2024
Yesterday, I updated my Everything to last version of alpha (Everything-1.5.0.1391a.x64)
The above code didn't work perfectly now, see screenshot
So what happened to make the above code malfunctioned?
It didn't remove the prefix digit dot space and add ,\d+\. , to the end
Please how to fix it?
Thanks
Re: File name searching with Everything
(I'll just confirm the change.
Works in 1382, fails in 1391.
#stem: still works, so it must be something with #regexreplace:.
Either it broke or the syntax changed?)
Works in 1382, fails in 1391.
#stem: still works, so it must be something with #regexreplace:.
Either it broke or the syntax changed?)
Re: File name searching with Everything
There was a #[function:...#]: syntax change in 1383a
Please try:
Please try:
"C:\Program Files\Everything\Everything64.exe" -s [regexreplace:[stem:"%1"],"\d+\. ",""]
Re: File name searching with Everything
Thanks so much void
It works fine but the file name is flanked by quotation marks ""
I removed the double quotation marks from the end of your code, but didn't fix it
I want to keep the stem of the file name without any extra characters or symbols.
Thanks again
Re: File name searching with Everything
[stem:...] will use quotes if there are spaces in the output.
Please try:
Please try:
Code: Select all
"C:\Program Files\Everything\Everything64.exe" -s #[regexreplace:#[stem:%1#]:#,:\d+\. #,:#]:
Re: File name searching with Everything
Fantasticvoid wrote: ↑Sat Jan 04, 2025 7:11 am Please try:
Code: Select all
"C:\Program Files\Everything\Everything64.exe" -s #[regexreplace:#[stem:%1#]:#,:\d+\. #,:#]:
Good job
Thanks so much bro
It works perfectly
Dear void, can I face the same problem in the next version (require modification) or the problem is solved permanently ?
Thanks again for your help.
Re: File name searching with Everything
The style syntax is not going to change again in Everything 1.5.
#[regexreplace:#[stem:%1#]:#,:\d+\. #,:#]: