how to start TC for the folder via Windows XP context menu
Moderators: Hacker, petermad, Stefan2, white
how to start TC for the folder via Windows XP context menu
Is it possible to add a Windows XP context menu command for folders (and may be for some types of files as well) to start TC with this folder at current panel and, if TC is already active, to bring it front with this folder at current panel (automatically to add a new tab if allowed and needed)?
This text :
copied into a reg file, then doubleklick to add the settings into registry would let open new folders in TC. But be aware that XP then behaves sometimes rather unexpected.
So you should have this file at hand to be able to remove these registry keys - if XP does not work as expected. (I did so after some trials).
sheepdog
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell]
@="Total_Commander"
[HKEY_CLASSES_ROOT\Folder\shell\Total_Commander]
@="Total Commander"
[HKEY_CLASSES_ROOT\Folder\shell\Total_Commander\command]
@="\"e:\\tcbeta\\TOTALCMD.EXE\" /O \"%1\""
So you should have this file at hand to be able to remove these registry keys - if XP does not work as expected. (I did so after some trials).
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
2sheepdog
Thank you for your advice, I'll try. But...
Thank you for your advice, I'll try. But...
indeed I've meant another thing (sorry for my English which is not good enough to explain clearly my problem): namely I mean to open an existing folder in TC via this folder's context menu command, not to create a new folder.settings into registry would let open new folders in TC.
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
I dont think so, because I could not find a way to cut the filename from the path in regedit. TC acts weird when called with a filename as a path. When applying the /O switch, it does nothing, with the /N switch it creates an inaccessible locked tab with the filename as the path!But how about some similar code for files' context menu? Is it possible?
Christian, can you confirm this behaviour? Here is the relevant part of the inifile:
Code: Select all
[lefttabs]
0_path=C:\Documents and Settings\frank.risztits\My Documents\
0_caption=MyDox
0_options=0|3|1|0|0|1
1_path=C:\Documents and Settings\frank.risztits\My Documents\Delphi\Overtime\
1_options=0|3|1|0|0|1
2_path=C:\Documents and Settings\frank.risztits\My Documents\PSM\check_psm_queues\
2_caption=chkpsm
2_options=0|3|1|0|0|1
activetab=3
activelocked=1
The registry entry is:
Code: Select all
[HKEY_CLASSES_ROOT\*\shell\Total Commander]
[HKEY_CLASSES_ROOT\*\shell\Total Commander\command]
@="\"c:\\Program Files\\Total Commander\\TOTALCMD.EXE\" /N \"%1\""
I switched to Linux, bye and thanks for all the fish!