Launching a tab in Totalcmd from explorer?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
znix
Junior Member
Junior Member
Posts: 2
Joined: 2009-03-06, 10:26 UTC

Launching a tab in Totalcmd from explorer?

Post by *znix »

As an example.. I'm using the "Everything" search program to find stuff. Once I locate a folder, if I double click on it, I'm taken to that folder through the regular windows interface. Meaning, a new window, usually with thumbnail view unless configured otherwise.

What I really want, is to launch a new tab in total commander with that folder, to allow for regular workflow.

Is there any way to set up such an association?

As it is, I have to use Everything to search, then use Totalcmd to navigate there afterwards. Slow and inefficient. Oh and why I don't use total commander to search with? Because it's slow compared to Everything.
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

Welcome, znix :)
"Everything" does not even have a Buttonbar. I was just thinking about the contextmenu* or SendTo - function. Or something like the native "OpenWith-List" from Windows. One may ask the Everything-author to implement a INI-setting with a list of user-definied actions for the result list.

* In the registry, one must change the verb OPEN for (Drives and...) directories to "Total Commander with a new Tab" to achive this.
Open directory from explorer in TT from context menu
User avatar
neophite
Junior Member
Junior Member
Posts: 17
Joined: 2006-11-03, 12:59 UTC

Post by *neophite »

Hi znix open your "everything.ini" and edit the following entrie:
  • open_folder_command=$exec("c:\Programme\Total Commander 7\Totalcmd.exe" /t /o /l="%1")
Don't forget to adjust your path to totalcmd.exe.
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

I didn't found a value in the http://www.voidtools.com/Everything/wiki/Ini Everything-Ini Wiki-page (argh).
But as this is the Total Commander Forum, we have already the answers here: :P
Horst.Epp wrote: You need the actual beta version to have this options.

Code: Select all

explore_folder_command=$exec("%SystemRoot%\explorer.exe" /n,/e,"%1")
explore_folder_path_command=$exec("%commander_path%\TOTALCMD.EXE" /t /o /l="%1")
open_folder_path_command=$exec("%commander_path%\TOTALCMD.EXE" /t /o /l="%1")
open_file_command=$exec("%1")
open_folder_command=$exec("%commander_path%\TOTALCMD.EXE" /t /o /l="%1")
Everything search engine: http://www.voidtools.com/ only for NTFS volumes, Freeware.
User avatar
neophite
Junior Member
Junior Member
Posts: 17
Joined: 2006-11-03, 12:59 UTC

Post by *neophite »

ouch... :oops: you're right Stance you need the actual beta
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Single user license #329241
PowerPro scripts for Total Commander
znix
Junior Member
Junior Member
Posts: 2
Joined: 2009-03-06, 10:26 UTC

Post by *znix »

Edit1: Wow, Stance, I totally must have overlooked the link in your post, because now that I check it, it pretty much covers exactly what I did here! Thanks in retro, hehe.
Edit2: I just found the exact same info in the TCWiki. :oops:
---------------
Thank you guys for the command line parameters.

I managed to get it to work in a different way.

First I added two keys in the registry, like so:
HKEY_CLASSES_ROOT\Folder\shell\Open_in_TotalCMD\command

Then I added: "%commander_path%\TOTALCMD.EXE" /t /o /l="%1" as the "command" key value.

Now I can open folders in total commander from any program that supports access to explorer right clicking. It's a lot easier than fiddling with various ini files from different apps :)
-------------------------------------------------------------------------

The same trick can be used with other apps. But for it to work on files, rather than folders, you need the registry key:
HKEY_CLASSES_ROOT\*\shell

I got some inspiration from a webpage I cannot list, because I'm being identified as a spammer, lol.
Post Reply