Set TC as default file manager?

English support forum

Moderators: sheep, Hacker, Stefan2, white

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3758
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Set TC as default file manager?

Post by *Horst.Epp »

BlueSorrow wrote:
2020-06-21, 20:30 UTC
I kept looking for solutions and found one that works for me:

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:\\Program Files\\totalcmd\\TOTALCMD64.EXE\" /O \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell]
@="open"

[HKEY_CLASSES_ROOT\Directory\shell\open]

[HKEY_CLASSES_ROOT\Directory\shell\open\command]
@="\"C:\\Program Files\\totalcmd\\TOTALCMD64.EXE\" /O \"%1\""

But for some reason when I click on a search in the seeker "Everything" always open on the left tab of the TC, no in te current tab and if the TC is closed, whe it open my custom bottom bar disappeared and is restored to original. Any idea why this happens
Change your line to this one:
@="\"C:\\Program Files\\totalcmd\\TOTALCMD64.EXE\" /O /A /S /L=\"%1\""
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.331)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.984 (x64)

BlueSorrow
Junior Member
Junior Member
Posts: 6
Joined: 2020-06-21, 00:45 UTC

Re: Set TC as default file manager?

Post by *BlueSorrow »

Thats works, but now when TC is minimized, the click function in desktop stop work, i have to closed TC for make it work again. This happens when I right click open the file location from desktop.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3758
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Set TC as default file manager?

Post by *Horst.Epp »

BlueSorrow wrote:
2020-06-21, 22:05 UTC
Thats works, but now when TC is minimized, the click function in desktop stop work, i have to closed TC for make it work again. This happens when I right click open the file location from desktop.
I don't know what you mean with "click function" ?
Also this settings have nothing to do with any TC behaviour.
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.331)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.984 (x64)

BlueSorrow
Junior Member
Junior Member
Posts: 6
Joined: 2020-06-21, 00:45 UTC

Re: Set TC as default file manager?

Post by *BlueSorrow »

I mean if I do the following:
->Right click on a file on the desktop
->Open file location
He opens the location of that file right in the active tab, but after that I can't do anything else on my PC desktop, I have to maximize and minimize the TC 2 or 3 times or close it . After that everything works normally again.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3758
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Set TC as default file manager?

Post by *Horst.Epp »

BlueSorrow wrote:
2020-06-22, 06:55 UTC
I mean if I do the following:
->Right click on a file on the desktop
->Open file location
He opens the location of that file right in the active tab, but after that I can't do anything else on my PC desktop, I have to maximize and minimize the TC 2 or 3 times or close it . After that everything works normally again.
Thats not a TC problem.
There is no context menu "Open file location" entry in a default Windows 10 config.
So I guess you have some third party tool installed which makes the problems.
I use the tool TCShell to add an entry "Open in Total Commander" to the context menu of any file or dir.
https://totalcmd.net/plugring/tcshell.html
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.331)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.984 (x64)

BlueSorrow
Junior Member
Junior Member
Posts: 6
Joined: 2020-06-21, 00:45 UTC

Re: Set TC as default file manager?

Post by *BlueSorrow »

This option only appears when you right click on a shortcut ( .ink file ), there is no way to open it with Explorer?

I kept searching and found this command line:

[HKEY_CLASSES_ROOT\Directory\shell\Open in TC\command]
@="C:\\Program Files\\TotalCommander2018\\TC2018.exe /O /R=\\\"%1\\\" /P=R"

This is a fragment of a registry key that must appear in 3 locations
-> [HKEY_CLASSES_ROOT\Drive\shell\open\command]
-> [HKEY_CLASSES_ROOT\Directory\shell\open\command]
-> [HKEY_CLASSES_ROOT\lnkfile\shell\open\command] ( this in case of a shortcut ( .lnk file) )

It should appear the same way it is written, but when I add it, and I check in Regedit,appears like this:
-> "C:\Program Files\totalcmd\TOTALCMD64.EXE" /O /R=\"%1\" /P=R

Not as it should, when I open a file the TC runs but only opens as I left it last time, does not open the file.

Any ideas for this key to appear as it should when I insert it.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3758
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Set TC as default file manager?

Post by *Horst.Epp »

BlueSorrow wrote:
2020-06-23, 06:14 UTC
This option only appears when you right click on a shortcut ( .ink file ), there is no way to open it with Explorer?

I kept searching and found this command line:

[HKEY_CLASSES_ROOT\Directory\shell\Open in TC\command]
@="C:\\Program Files\\TotalCommander2018\\TC2018.exe /O /R=\\\"%1\\\" /P=R"

This is a fragment of a registry key that must appear in 3 locations
-> [HKEY_CLASSES_ROOT\Drive\shell\open\command]
-> [HKEY_CLASSES_ROOT\Directory\shell\open\command]
-> [HKEY_CLASSES_ROOT\lnkfile\shell\open\command] ( this in case of a shortcut ( .lnk file) )

It should appear the same way it is written, but when I add it, and I check in Regedit,appears like this:
-> "C:\Program Files\totalcmd\TOTALCMD64.EXE" /O /R=\"%1\" /P=R

Not as it should, when I open a file the TC runs but only opens as I left it last time, does not open the file.

Any ideas for this key to appear as it should when I insert it.
Again, this is non standard for a default OS and TC installation.
Remove this entries and create and entry with TCShell I mentioned above.
This will work perfect also for lnk files and opens the target of the lnk in this case.
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.331)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.984 (x64)

Post Reply