(internal) file associations
Moderators: Hacker, petermad, Stefan2, white
(internal) file associations
Hi,
Is it possible to have multiple internal file associations with a file extension and then select ad how which program you want to use on a file?
For example, decide on the fly which program you want to use when you want to view a pdf:
- default program in windows settings: adobe
- internal association 1: PDFX Change
- internal association 2: Sumatra
Using TC 10.00 64 bit on a windows 10 machine
Thanks in advance,
kind regards.
Is it possible to have multiple internal file associations with a file extension and then select ad how which program you want to use on a file?
For example, decide on the fly which program you want to use when you want to view a pdf:
- default program in windows settings: adobe
- internal association 1: PDFX Change
- internal association 2: Sumatra
Using TC 10.00 64 bit on a windows 10 machine
Thanks in advance,
kind regards.
I'm currently using Total Commander Version 10.00 64bit
Re: (internal) file associations
Yes, no problem.
The selection is with the context menu.
All internal associations are shown on top.
The selection is with the context menu.
All internal associations are shown on top.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: (internal) file associations
You would have to set the "Open" field to either * or **
Help wrote:Open
* A single asterisk causes a context menu with all other verbs to be shown when you press Enter
** A double asterisk opens the file with the default system association
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: (internal) file associations
Hi,
Both solutions work. Great, thanks for your help.
Just out of curiousity:
Both solutions work. Great, thanks for your help.
Just out of curiousity:
Why does ** exist? Isn't that just like defining no internal association at all?You would have to set the "Open" field to either * or **
Help wrote:
Open
* A single asterisk causes a context menu with all other verbs to be shown when you press Enter
** A double asterisk opens the file with the default system association
I'm currently using Total Commander Version 10.00 64bit
Re: (internal) file associations
@petermad
Or did you mean like so?
Or did you mean like so?
Code: Select all
[Associations]
Filter1=*.pdf
Filter1_open=*
Filter1_Sumatra=""%commander_path%\Plugins\wlx\slister\SumatraPDF.exe" "%1""
Filter1_PDF-XChange Editor=""%COMMANDER_DRIVE%\Program Files\PDF-XChange Editor Portable\PDFXEdit.exe" "%1""
Filter1_System default=**
I'm currently using Total Commander Version 10.00 64bit
Re: (internal) file associations
2kodepr
No I meant either:
or
When you use the first one you will get the options in the top of the right-click menu, and you will get a small menu with only the options when you double-click or press enter on a file.
With the second one you also get the options in the top of the right-click menu, but double-click or pressing enter will open the file in the Windows default program.
if you additionally to Filter1_open=* use
you will get a "System default" option in the double-click (or enter) menu, but the "System default" will not be shown in the right-click menu.
___________________________
Hint: you can open with Lister plugins like this:
No I meant either:
Code: Select all
Filter1_open=*
Code: Select all
Filter1_open=**
With the second one you also get the options in the top of the right-click menu, but double-click or pressing enter will open the file in the Windows default program.
if you additionally to Filter1_open=* use
Code: Select all
Filter1_System default=**
___________________________
Hint: you can open with Lister plugins like this:
Code: Select all
Filter2=>Imagetypes
Filter2_open=**
Filter2.icon=**
Filter2_Lister Imagine=""%COMMANDER_EXE%" /i="%COMMANDER_INI%" /S=L:Pimagine "%1""
Filter2_Lister PhotoViewer=""%COMMANDER_EXE%" /i="%COMMANDER_INI%" /S=L:Pphotoviewer "%1""
Filter2_Lister Internal=""%COMMANDER_EXE%" /i="%COMMANDER_INI%" /S=L:P "%1""
Filter2_Lister Explorer Preview=""%COMMANDER_EXE%" /i="%COMMANDER_INI%" /S=L:T8 "%1""
Filter2_Imagine (wcx)=**png
Filter2_Windows PhotoViewer=rundll32.exe shimgvw.dll,ImageView_Fullscreen %1
Filter2_Imagine=""%COMMANDER_PATH%\PLUGINS\WLX\imagine\Imagine64.exe" "%1""
Filter2_PaintShop Pro="%COMMANDER_PATH%\PROGRAMS\PSP\PSP.EXE" %1
Filter2_IrfanView=""%COMMANDER_PATH%\PROGRAMS\IrfanView\i_view32.exe" "%1""
Filter2_XnView=""%PROGRAMFILES(x86)%\XnView\xnview.exe" "%1""
[Searches]
Imagetypes_SearchFor=*.gif *.jpg *.jpeg *.jpe *.jfif *.png *.bmp *.adi *.cdr *.cgm *.clp *.cut *.dib *.drw *.dxf *.eps *.gem *.hgl *.iff *.img *.jif *.lbm *.mac *.pnt *.pntg *.msp *.pbm *.pcd *.pct *.pcx *.pgm *.pic *.pict *.pct *.plt *.ppm *.psd *.ras *.raw *.rle *.tga *.psp *.tif* *.jp2 *.wdp *.webp *ccx *.heic *.wmf *.dds *.arw
Imagetypes_SearchIn=
Imagetypes_SearchText=
Imagetypes_SearchFlags=0|002002000020|||||||||0000|||
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: (internal) file associations
Is It still not possible make it with .exe (executable file) files, right (sometimes I would like open .exe with software analysis tools like "EXE Explorer", "pestudio", etc.)?petermad wrote: 2022-07-05, 14:28 UTC You would have to set the "Open" field to either * or **
Help wrote:Open
* A single asterisk causes a context menu with all other verbs to be shown when you press Enter
** A double asterisk opens the file with the default system association
Thanks
Re: (internal) file associations
2Axis
Then ResHacker will be the first item in the context menu when you right-click on an exe file
Sure, for example like this for opening exe and other binaries with Reshacker:Is It still not possible make it with .exe (executable file) files, right (sometimes I would like open .exe with software analysis tools like "EXE Explorer", "pestudio", etc.)?
Code: Select all
Filter14=*.exe *.dll *.wcx* *.wlx* *.wfx* *.wdx* *.sfx
Filter14_open=*
Filter14_ResHacker=""%PROGRAMFILES(x86)%\ResHacker\ResHacker.exe" "%1""
Filter14_Run=**
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar