Internal Associations (Total Commander Only)
With this dialog box you can define file associations which will work only within Total Commander, without affecting other programs on the system. This is especially useful when using Total Commander from a USB stick. It allows you to associate files with programs on the stick independent from the associations on the computer where you use the stick. You can use the environment variables %commander_drive% or %commander_path% to open programs independent from the drive letter of the USB stick.
Exe, com, bat, cmd and lnk files are treated differently than other files: The default verb cannot be overridden via internal associations.
Field Description
File types This list shows the already defined association types. The sort order defines the priority of the filters. Example: If you have defined one association for ZIP files, and another for files with 'read only' attribute, then Total Commander will use the filter which comes first in the list for ZIP files with 'read only' attribute.
By double clicking on a file type or pressing the space bar, you can modify an already defined file type and its associations.
Internal associations starting with a * (e.g. *.txt) can be quickly enabled/disabled by clicking on the * symbol (it will change to -.ext, so a file named -.ext will still be matched).
Note:
If multiple files with different types are selected, internal associations will work differently for the "open" verb and additional verbs:
1. For the "open" verb, TC will use the first matching internal association for that file (may be a different one for each file!)
Example for 1: *.txt -> Open=notepad.exe, *.txt *.rtf -> Open=Winword.exe
Select: test.txt, test.rtf -> Context menu, Open -> Opens test.txt with notepad and test.rtf with Winword
2. For all other verbs, the first internal association which matches ALL selected files will be used to populate the context menu
Example for 1: *.txt -> Edit text=notepad.exe, *.txt *.rtf -> Edit all=Winword.exe
Select: test.txt, test.rtf -> Context menu -> "Edit all" will be shown, opens all files with Winword
Load extra commands from all matching types
By default, only the commands (actions) of the first found file type are used. If this option is set, Total Commander additionally shows all extra actions (except open) of all other matching file types.
Example:
*.txt Edit: notepad.exe
*.* Wordpad: wordpad.exe
Result:
1. Option not set: For text files, only "Edit" appears in the context menu.
2. Option set: For text files, both commands "Edit" and "Wordpad" appear in the context menu.
Add... Creates a new entry in the list. You will first be asked for the file type. Then you can change the association of the default verb (open), the icon, and define additional verbs.
Delete Removes an entry from the list.
OK Saves the changes and closes the dialog box.
Cancel Closes the dialog box without saving the changes.