Below are a few
setting variants in 'Everything' relating to:
Menu "Tools" -> "Options..." -> "Context Menu":
Open (Folders)
Purpose:
After double-clicking on a folder in 'Everything', the contents of this folder are displayed in the active window in Total Commander.
[When using the '/T' parameter, the contents of this folder are displayed *in a new tab* in the active window in Total Commander].
If Total Commander is not open, then the program will be started automatically.
Code: Select all
$exec("Path\To\TOTALCMD64.EXE" /O /A /S "%1")
OR
$exec("Path\To\TOTALCMD64.EXE" /O /A /S /T "%1")
Open (Folders) -> Everything.ini, e.g.:
open_folder_command2=$exec("Path\To\TOTALCMD64.EXE" /O /A /S "%1")
Open Path
Purpose:
After marking a file or folder in 'Everything' and then menu "File" - "Open Path" or using the context menu entry "Open Path"
the file or the contents of this folder are displayed in the active window in Total Commander.
With a selected file in 'Everything', the cursor is then positioned in Total Commander on the file!
[When using the '/T' parameter, the contents of this folder are displayed *in a new tab* in the active window in Total Commander
or the file is opened in the active window in Total Commander *in a new tab* and the cursor is positioned on the file!].
If Total Commander is not open, then the program will be started automatically.
Code: Select all
$exec("Path\To\TOTALCMD64.EXE" /O /A /S "%1")
OR
$exec("Path\To\TOTALCMD64.EXE" /O /A /S /T "%1")
Open Path -> Everything.ini, e.g.:
open_path_command2=$exec("Path\To\TOTALCMD64.EXE" /O /A /S "%1")
Explore Path
Purpose:
$parent(filename) returns the parent folder of the specified file or folder --> See:
Tooltip "Explore Path" ->
Command:
Example 1 (parent folder of the file):
D:\Testfolder\Folder1\1.jpg
1. Mark the file "1.jpg" in 'Everything'. 2. Execute the "File" - "Explore Path" menu or the "Explore Path" context menu item.
3. In Total Commander the content of the folder
D:\Testfolder\Folder1\ is displayed in the active window.
The cursor is NOT positioned on the file!
Example 2 (parent folder):
D:\Testfolder\Folder1\
1. Mark the folder "Folder1" in 'Everything'. 2. Execute the menu "File" - "Explore Path" or context menu entry "Explore Path".
3. The contents of folder
D:\Testfolder\ are displayed in Total Commander in the active window.
The cursor is NOT positioned on the folder!
[When using the '/T' parameter, *a new tab* in the active window in Total Commander is opened...].
If Total Commander is not open, then the program will be started automatically.
Code: Select all
$exec("Path\To\TOTALCMD64.EXE" /O /S $parent("%1"))
OR
$exec("Path\To\TOTALCMD64.EXE" /O /S /T $parent("%1"))
Explore Path -> Everything.ini, e.g.:
explore_path_command2=$exec("Path\To\TOTALCMD64.EXE" /O /S $parent("%1"))
Total Commander-Help (F1), 4.a.
Command line parameters, e.g.
/T Opens the passed dir in a new tab. [--> Double click on a folder in 'Everything'].
Thanks to
Horst.Epp for listing of the
parameters!
https://ghisler.ch/board/viewtopic.php?p=318142#p318142 (German language)
These
settings for 'Everything' <-> Total Commander might also be of interest:
https://ghisler.ch/board/viewtopic.php?p=346372#p346372
Search queries in Total Commander using 'Everything':
https://ghisler.ch/board/viewtopic.php?f=3&t=56800