C:\Tools\AppCall\Everything\Everything.exe
C:\Tools\AppCall\TextPdf\EverEdit\EverEdit.exe
I set the custom_open_commands / custom_open_command01 like this:(but it can not be executed.....)
$exec("..\TextPdf\EverEdit\EverEdit.exe" %*)
So I have to add a system environment variable %Extools% pointing to "C:\Tools\AppCall", and use this in custom_open_commands:
Code: Select all
$exec("%Extools%\TextPdf\EverEdit\EverEdit.exe" %*)I hope custom_open_command can support relative path, so that when on another PC, my portable Everything can call "EverEdit.exe" without setting a environment variable.
Or, is there an internal variable ($exepath,e.g.) representing the path where everything exe is in?then we can use:
Code: Select all
$exec("$exepath\..\TextPdf\EverEdit\EverEdit.exe" %*)