Open folder in TC from current Explorer view

English support forum

Moderators: Stefan2, white, sheep, Hacker

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

Open folder in TC from current Explorer view

Post by *poddex » 2019-01-23, 15:32 UTC

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: 2394
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Open folder in TC from current Explorer view

Post by *Stefan2 » 2019-01-23, 19:24 UTC

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: 2
Joined: 2019-01-23, 15:27 UTC

Re: Open folder in TC from current Explorer view

Post by *poddex » 2019-01-23, 20:31 UTC

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 » 2019-01-26, 09:35 UTC

Set_OpenInTC_Item.cmdShow

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

Code: Select all

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

Post Reply