Open folder in TC from current Explorer view

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
poddex
Junior Member
Junior Member
Posts: 3
Joined: 2019-01-23, 15:27 UTC

Open folder in TC from current Explorer view

Post by *poddex »

Sorry, couldn't find this information.
How can I open current explorer view in TC (left or right panel and a new tab)?
TC always in background.
Maybe is there a program/extension for this?
Thanks.

User avatar
Stefan2
Power Member
Power Member
Posts: 2744
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Open folder in TC from current Explorer view

Post by *Stefan2 »

Hi and welcome.

You can automate TC with its command line option, like

path\TC.EXE /O /T /L=%1

See Help > Command line parameters



With that you can create a context menu entry for WinEx via Registry.
There are already a few posts about that, .... be patient..... f.ex. there >>> http://ghisler.ch/board/viewtopic.php?p=305616#305616




 

poddex
Junior Member
Junior Member
Posts: 3
Joined: 2019-01-23, 15:27 UTC

Re: Open folder in TC from current Explorer view

Post by *poddex »

Thanks a lot.
I found TCShell, that make a regisry key in HKCR\Directory\shell\Open in Total Commander path for Open in TotalCommnder via right-mouse button on the folder icon.
I copy and change this key to HKCR\Directory\Background\Shell path. So it looks like this.
HKCR\Directory\Background\Shell
-----------------------------------Open In Total Commander
--------------------------------------------------------------command
---------------------------------------------------------------------String key: "C:\Program Files (x86)\totalcmd\totalcmd64.exe" /O /T /L="%V".
This key add "Open in Total Commander" command in the current folder right-mouse button menu (not on folder icon, just right-mouse button on background on current opened folder).

User avatar
rus73
Junior Member
Junior Member
Posts: 7
Joined: 2013-05-30, 08:39 UTC
Location: Russia

Re: Open folder in TC from current Explorer view

Post by *rus73 »

Set_OpenInTC_Item.cmd
Show

Code: Select all

@echo off
SET KEY=HKCU\Software\Classes\*\shell\Open TC
REG ADD "%KEY%" /f
REG ADD "%KEY%" /VE /D "Open in Total Commander" /f
REG ADD "%KEY%" /V Description /D "Open in Total Commander" /f
REG ADD "%KEY%" /V Icon /D "%COMMANDER_EXE%" /f
REG ADD "%KEY%" /V MUIVerb /D "Open in Total Commander" /f
REG ADD "%KEY%" /V Position /D "Middle" /f
SET KEY=HKCU\Software\Classes\*\shell\Open TC\Command
REG ADD "%KEY%" /f
REG ADD "%KEY%" /f /ve /d "%COMMANDER_EXE% /O /S /T /A /L=\"%%1\""
SET KEY=HKCU\Software\Classes\Directory\shell\Open TC
REG ADD "%KEY%" /f
REG ADD "%KEY%" /VE /D "Open in Total Commander" /f
REG ADD "%KEY%" /V Description /D "Open in Total Commander" /f
REG ADD "%KEY%" /V Icon /D "%COMMANDER_EXE%" /f
REG ADD "%KEY%" /V MUIVerb /D "Open in Total Commander" /f
REG ADD "%KEY%" /V Position /D "Middle" /f
SET KEY=HKCU\Software\Classes\Directory\shell\Open TC\Command
REG ADD "%KEY%" /f
REG ADD "%KEY%" /f /ve /d "%COMMANDER_EXE% /O /S /T /A /L=\"%%1\""
Remove_OpenInTC_Item.cmd
Show

Code: Select all

@echo off
REG DELETE "HKCU\Software\Classes\*\shell\Open TC" /f
REG DELETE "HKCU\Software\Classes\Directory\shell\Open TC" /f

poddex
Junior Member
Junior Member
Posts: 3
Joined: 2019-01-23, 15:27 UTC

Re: Open folder in TC from current Explorer view

Post by *poddex »

Mmmm, above is much better, then me, thanks =)

dungn
Junior Member
Junior Member
Posts: 4
Joined: 2017-01-05, 21:57 UTC

Re: Open folder in TC from current Explorer view

Post by *dungn »

With focus on target directory -or- from within that directory - use hotkey:

CTRL + SHIFT + ENTER, then hit ENTER

amarok_3d
New Member
New Member
Posts: 1
Joined: 2020-02-04, 16:51 UTC

Re: Open folder in TC from current Explorer view

Post by *amarok_3d »

I just use .+ENTER (yes, that is a dot)

Post Reply