Sorry if this has already been answered, but I couldn't find the solution.
I'd like folders on my Desktop to open in TC when I doubleclick on them.
Is there any way to configure this?
Thanks
Open Windows Explorer folders in Total Commander
Moderators: Hacker, petermad, Stefan2, white
Re: Open Windows Explorer folders in Total Commander
Yes, with this reg file.
Change the path to TC for your environment bevor you use it.
Note that every \ in the path must be doubled !!!
Change the path to TC for your environment bevor you use it.
Note that every \ in the path must be doubled !!!
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell]
@="open"
[HKEY_CLASSES_ROOT\Drive\shell\open]
[HKEY_CLASSES_ROOT\Drive\shell\open\command]
@="c:\\tools\\wincmd\\TOTALCMD64.EXE /O \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell]
@="open"
[HKEY_CLASSES_ROOT\Directory\shell\open]
[HKEY_CLASSES_ROOT\Directory\shell\open\command]
@="c:\\tools\\wincmd\\TOTALCMD64.EXE /O \"%1\""
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Open Windows Explorer folders in Total Commander
2coo1guy
If needed, there is a further detailed description here.
2Horst.Epp
Thank you for your codes.
I think this is also a good option, as the folder by Windows Explorer is opened in the active TC window.
This code is also from you in another context...
If needed, there is a further detailed description here.
2Horst.Epp
Thank you for your codes.

I think this is also a good option, as the folder by Windows Explorer is opened in the active TC window.
Code: Select all
C:\totalcmd\TOTALCMD64.EXE /O /A /S "%1"
Re: Open Windows Explorer folders in Total Commander
2Tuskatuska wrote: 2023-03-03, 17:20 UTC 2coo1guy
If needed, there is a further detailed description here.
2Horst.Epp
Thank you for your codes.
I think this is also a good option, as the folder by Windows Explorer is opened in the active TC window.This code is also from you in another context...Code: Select all
C:\totalcmd\TOTALCMD64.EXE /O /A /S "%1"
The /O switch is already part of my code ?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.55 RC1 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Open Windows Explorer folders in Total Commander
I think Tuska was referring to the /S switch wich makes TC open the passed dir in the Active panel instead of in the Left panel.The /O switch is already part of my code ?
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: Open Windows Explorer folders in Total Commander
Yes, you are both right.petermad wrote: 2023-03-04, 12:26 UTCI think Tuska was referring to the /S switch wich makes TC open the passed dir in the Active panel instead of in the Left panel.The /O switch is already part of my code ?

In this case, I have quoted the entire "line of code" in case someone wants to use this variant.
OT
This line of code also corresponds to my settings in the 'Everything' tool under
Everything Options - 1.5.0.1339a (x64) > Context Menu > "Open (Folders)" and "Open Path":
Command: $exec("C:\totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
/OT
Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.1344)
TC 10.52 x64/x86 | 'Everything' 1.5.0.1339a (x64)