How to open folders outside TC directly into right panel?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
20120708
Junior Member
Junior Member
Posts: 8
Joined: 2017-10-09, 12:43 UTC

How to open folders outside TC directly into right panel?

Post by *20120708 »

I'm using 64_bit version 9.0a TC in Windows 10. And I have done the explorer integration, so TC is my default file manager.

Now, if I double click a folder on the desktop, or "open folder" button from other program, that folder will open in TC's left panel.

Is there a way to configure it, so that the folder can be opened directly into right panel? Thank you.
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome.

How have you done the "explorer integration, so TC is my default file manager. "?

To configure TC on launch time see Help > Config 'n Switch > Command line parameters




 
20120708
Junior Member
Junior Member
Posts: 8
Joined: 2017-10-09, 12:43 UTC

Post by *20120708 »

Stefan2 wrote:How have you done the "explorer integration, so TC is my default file manager. "?
I followed "Explorer_integration" article on ghisler.ch/wiki and some other posts in this forum
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

20120708,
AFAIK integration requies some registry associations that run TOTALCMD.exe with some arguments, so you can select desired panel by editing these commands, e.g.:

Code: Select all

TOTALCMD.exe /L="X:\LeftPanelPath"
TOTALCMD.exe /R="X:\RightPanelPath"
TOTALCMD.exe /S /L="X:\ActivePanelPath"
TOTALCMD.exe /S /R="X:\InactivePanelPath"
(I suppose you will see %1 as a replacement for a folder to be opened in these commands)
20120708
Junior Member
Junior Member
Posts: 8
Joined: 2017-10-09, 12:43 UTC

Post by *20120708 »

2MVV

2Stefan2

Thank you! You are awesome!

At first I don't know what does the code mean and where to paste it. Then I read the corresponding help file and did some wiki search. And after some fumble, I got it work successfully.

For any newbie who doesn't familiar with registry like me, please read

https://en.wikipedia.org/wiki/Windows_Registry

and

http://ghisler.ch/wiki/index.php?title=Explorer_integration

also help file of TC helps a lot too.

If you don't want to know why and just want to open desktop folder or let other program open folder in a new tab in the inactive panel, you can simply change the last line of the code in that explorer-integration-article into

@="\"C:\\Program files\\totalcmd\\TOTALCMD64.EXE\" /O /S /T /R=\"%1\""

Please notice you need to change the 『C:\\Program files\\totalcmd\\TOTALCMD64.EXE』 part into your own system setting.
20120708
Junior Member
Junior Member
Posts: 8
Joined: 2017-10-09, 12:43 UTC

Post by *20120708 »

Also, is there a way to make TC the default file manager without adding it into the content menu? Thank you.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

20120708,
You should modify default open action instead of adding new Total_Commander one in HKEY_CLASSES_ROOT\Folder\shell key, and leave default value empty (article suggests to add new Total_Commander action and set it as default one).
20120708
Junior Member
Junior Member
Posts: 8
Joined: 2017-10-09, 12:43 UTC

Post by *20120708 »

Thanks again!

I found this post useful too.

http://www.ghisler.ch/board/viewtopic.php?t=44041&highlight=default
Post Reply