Linking TC to Windows Explorer

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Derek Cornish
Junior Member
Junior Member
Posts: 48
Joined: 2003-08-06, 20:46 UTC

Linking TC to Windows Explorer

Post by *Derek Cornish »

When I installed Agent Ransack (non-indexed search program) into WIN98 it appears to have also linked itself into Windows Explorer, by installing itself as a menu item under Tools/Find. This provides some improvement over W.E.'s search capabilities.

Is there a way of getting TotalCommander to link into W.E. in the same way? The reason I ask is not for love of Windows Explorer, but because some programs (e.g. Zoot) enlist W.E. in some of their menus to help in general file-management, simple searches etc., and often won't allow anything else to be used as easily.

It would be useful to be able to use W.E. as a bridge to TC by having TC as one of its menu choices (just as Agent Ransack does), so that I could use the vastly superior array of options offered by TC.

Derek
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Well, you can add Agent Ransack as a button on TC or even better (if you prefer the menu integration as you mentioned in WE's case) you can use the Start Menu as an alternative. And you get many advantages in this way like the ability to assign shortcut keys to a command, the ability to pass arguments etc.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Derek Cornish
Junior Member
Junior Member
Posts: 48
Joined: 2003-08-06, 20:46 UTC

Post by *Derek Cornish »

Thanks, but I don't want to add Agent Ransack to TC. I want to add TC to Windows Explorer.

I have a freeform database program that automatically uses Windows Explorer for some file management, searching, viewing, etc. of files outside its own database. What I want to do is to add TC to W.E.'s Tools/Find menu (or elsewhere) so that I can easily access it. TC is so much better than W.E. that I'd like to be able to use it instead.

I noticed that Agent Ransack appears to install itself to W.E. automatically and wondered whether I could install TC into W.C.'s menu system in the same way.

Derek
rxyzzy
Junior Member
Junior Member
Posts: 15
Joined: 2003-12-04, 20:45 UTC

Post by *rxyzzy »

I have a file called TotalCommanderHere.Reg that makes TC available in Explorer with a right click. Patterned on CmdHere from MS Powertoys. Change the TC directory based on your intallation. Then put it in a XXX.reg file and execute by double clicking. Here is my version:

REGEDIT4

[HKEY_CLASSES_ROOT\Drive\shell\TotalCmd]
@="Open Total Commander Here"

[HKEY_CLASSES_ROOT\Drive\shell\TotalCmd\command]
@="\"c:\\Program Files\\Wincmd\\TOTALCMD.EXE" /N \"/L=%L\""

[HKEY_CLASSES_ROOT\Directory\shell\TotalCmd]
@="Open Total Commander Here"

[HKEY_CLASSES_ROOT\Directory\shell\TotalCmd\command]
@="c:\\Program Files\\Wincmd\\TOTALCMD.EXE /N \"/L=%L\""
Derek Cornish
Junior Member
Junior Member
Posts: 48
Joined: 2003-08-06, 20:46 UTC

Post by *Derek Cornish »

Thanks. This looks like just what I had in mind. I use WIN98SE, though. Is this an XP PowerToys tweak? Will it work with WIN98?
rxyzzy
Junior Member
Junior Member
Posts: 15
Joined: 2003-12-04, 20:45 UTC

Post by *rxyzzy »

Yes it is patterned on the Powertoys, see what the CmsHere does to registry on your version of Windows.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2rxyzzy
There is an error in the reg file. Instad of %L use %1. Here is a simplified version, which has has just the same effect as yours above (because Directories and Drives are Folders):

Code: Select all

REGEDIT4

[HKEY_CLASSES_ROOT\Folder\shell\Total Commander]

[HKEY_CLASSES_ROOT\Folder\shell\Total Commander\command]
@="\"c:\\Program Files\\Total Commander\\TOTALCMD.EXE\" /O \"%1\""
If you want to have a new instance of TC appear, change the /O to /N
I switched to Linux, bye and thanks for all the fish!
Post Reply