Open Windows Explorer folders in Total Commander

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
coo1guy
New Member
New Member
Posts: 1
Joined: 2023-03-03, 10:40 UTC

Open Windows Explorer folders in Total Commander

Post by *coo1guy »

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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Windows Explorer folders in Total Commander

Post by *Horst.Epp »

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 !!!

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 x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Windows Explorer folders in Total Commander

Post by *tuska »

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.

Code: Select all

C:\totalcmd\TOTALCMD64.EXE /O /A /S "%1"
This code is also from you in another context...
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Open Windows Explorer folders in Total Commander

Post by *Horst.Epp »

tuska 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.

Code: Select all

C:\totalcmd\TOTALCMD64.EXE /O /A /S "%1"
This code is also from you in another context...
2Tuska
The /O switch is already part of my code ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Open Windows Explorer folders in Total Commander

Post by *petermad »

The /O switch is already part of my code ?
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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Open Windows Explorer folders in Total Commander

Post by *tuska »

Horst.Epp wrote: 2023-03-04, 07:17 UTC 2Tuska
The /O switch is already part of my code ?
petermad wrote: 2023-03-04, 12:26 UTC
The /O switch is already part of my code ?
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.
Yes, you are both right. :)
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)
Post Reply