Everything v1.5.0.1245a (64-bit)
I had CTRL+SHIFT+F2 set as a hotkey that found only a selected file (that is, the exact file name) while excluding any other file(s) that had the selected file's name in their name(s). Can someone please refresh my memory? Thanks!
Forgot command-line for hotkey that finds ONLY selected file
Re: Forgot command-line for hotkey that finds ONLY selected file
This one?
Everything.exe -s exact:"%1"
Everything.exe -s exact:"%1"
Last edited by void on Tue Mar 23, 2021 4:33 am, edited 1 time in total.
Reason: added quotes
Reason: added quotes
Re: Forgot command-line for hotkey that finds ONLY selected file
When using the following command:
D:\Everything64\Everything64.exe -s exact:%1
... and searching for "Everything 64.exe" -> The following will be shown in the Search box:
exact:D:\Everything64\Everything64.exe
Only that instance of the search term appears in the Results list. I need Everything to find all instances of that search term on all of my indexed drives.
Note: My CTRL+SHIFT+F2 hotkey is a Directory Opus-assigned hotkey (not sure if that is causing your suggested command to fail?)
D:\Everything64\Everything64.exe -s exact:%1
... and searching for "Everything 64.exe" -> The following will be shown in the Search box:
exact:D:\Everything64\Everything64.exe
Only that instance of the search term appears in the Results list. I need Everything to find all instances of that search term on all of my indexed drives.
Note: My CTRL+SHIFT+F2 hotkey is a Directory Opus-assigned hotkey (not sure if that is causing your suggested command to fail?)
Re: Forgot command-line for hotkey that finds ONLY selected file
Does this work for you?
(not sure if it should be %1 or "%1"; will depend on the source (dopus in this case)
#filename: is on of the Search Preprocessor functions (Menu:Help > Search Preprocessor for more information)
Code: Select all
Everything64.exe -s exact:#filename:%1
#filename: is on of the Search Preprocessor functions (Menu:Help > Search Preprocessor for more information)
Re: Forgot command-line for hotkey that finds ONLY selected file
That seems to work for a couple of search files, but now "C:\Windows\system32" is being inserted into the path name for most of the searches I do. For example, searching for "Everything64.exe" works, but "Everything64 - Copy. exe" makes the "Command Line Options" dialog appear.
Proccess Hacker shows the Everything service's current directory is "C:\Windows\system32" (maybe that's why "C:\Windows\system32" is being inserted into some search terms?
For now, I am going to use this command line:
D:\Everything64\Everything64.exe -name -part "%1" -s file:
... it finds what I'm looking for (along with other files).
Thanks for your help. Appreciate it!
Proccess Hacker shows the Everything service's current directory is "C:\Windows\system32" (maybe that's why "C:\Windows\system32" is being inserted into some search terms?
For now, I am going to use this command line:
D:\Everything64\Everything64.exe -name -part "%1" -s file:
... it finds what I'm looking for (along with other files).
Thanks for your help. Appreciate it!
Re: Forgot command-line for hotkey that finds ONLY selected file
You will need to quote "%1" otherwise Everything will interpret text after a space as a file, and add that filename to your search:
Everything -s file:exact:"%1"
-no need to change if -name-part "%1" works for you.
Everything -s file:exact:"%1"
-no need to change if -name-part "%1" works for you.