Everything and Beyond Compare - Open with

Discussion related to "Everything" 1.5 Alpha.
Post Reply
eswul62
Posts: 97
Joined: Wed Jul 31, 2013 6:07 am

Everything and Beyond Compare - Open with

Post by eswul62 »

Currently Everything does not offer something like a folder compare. There are dedicated tools that can do the job (like Beyond Compare, WinMerge, etc.)

Regularly whilst comparing folders, those tools may find file differences. Before... taking any further action within above mentioned tools, one may wish to first check whether those files already exist elsewhere, or have different names, etc

In case of Beyond Compare one may try... (not sure if it works!) the "Open with.." option.
One can add a command line instruction there.
Regretfully I don't know the parameter to have Everything search for the file name only.

I tried :
"\..\Everything64.exe" ("%1")
"\..\Everything64.exe" -s {file}

Each time the full path is shown in Everything.

Q: How to search for the file name only?

Could be that it simply isn't possible.

Thanks.
void
Developer
Posts: 15501
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything and Beyond Compare - Open with

Post by void »

Everything64.exe -basename "%1"
-or-
Everything64.exe -namepart "%1"
-or-
Everything64.exe -s [basename:"%1"]



-basename
-namepart
[basename:]
eswul62
Posts: 97
Joined: Wed Jul 31, 2013 6:07 am

Re: Everything and Beyond Compare - Open with

Post by eswul62 »

Many thanks.

I am sorry, in all 3 cases, the full path is listed in Everytin, between quotes and followed by a space and 1

so, like:
SnagIt-05042024 085650.png
SnagIt-05042024 085650.png (1.25 KiB) Viewed 226 times
Maybe it is not possible at all though.

Just found it...

Beyond compare does not use 1 as parameter but 'n' for file name.

%f Absolute path and filename
%l (lowercase L) Current line number in file view
%n Filename only
%p Absolute path
%x Extension (includes ".")
%b Filename without extension
%F Path and filename relative to the working folder
%P Path relative to the working folder


I used: "D:\Everything\Everything64.exe" -s* file:#filename:"%n"
(used that from Opus context menu commands)

that worked out fine.
Last edited by eswul62 on Fri Apr 05, 2024 7:36 am, edited 1 time in total.
void
Developer
Posts: 15501
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything and Beyond Compare - Open with

Post by void »

Everything64.exe -s "%n"

Editing an Open With Item:
https://www.scootersoftware.com/v4help/dlgopenwithitem.html


Open With Examples:
https://www.scootersoftware.com/kb/openwithapp
eswul62
Posts: 97
Joined: Wed Jul 31, 2013 6:07 am

Re: Everything and Beyond Compare - Open with

Post by eswul62 »

Your reply crossed mine... :-)
thanks again!
Post Reply