Directory hotlist doesn't show check mark

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
qx87
Junior Member
Junior Member
Posts: 23
Joined: 2011-11-17, 20:51 UTC
Location: Russia

Directory hotlist doesn't show check mark

Post by *qx87 »

TC is in path c:\Programs\totalcmd\

Add new item to directory hotlist, specify command:
cd %COMMANDER_PATH%\..

Clicking on that hotlist menu item does changes curdir correctly. But if one open hotlist menu in that directory (c:\Programs) there is no check mark against corresponding menu item.
User avatar
Dalai
Power Member
Power Member
Posts: 9352
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Directory hotlist doesn't show check mark

Post by *Dalai »

I can confirm the behavior.

The question is, how much work should TC put into checking if the current directory matches any of the directory list's items. Should it follow such relative path specifications? Should it follow junctions and symllinks? What if this ends up in a recursion (endless loop)?

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Directory hotlist doesn't show check mark

Post by *petermad »

Confirmed. (it works for %COMMANDER_PATH% though)

It also doesn't work for %COMMANDER_PATH%\. (one dot).

It also doesn't work for or %COMMANDER_INI%\.. which is of a little more than academic interest, because it is actually useful for going to the folder that holds TC's .ini files (without placing the cursor on TC's current .ini file).
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Directory hotlist doesn't show check mark

Post by *ghisler(Author) »

The current path has to match the path of the directory hotlist menu item, otherwise it will not be checked. With ".." you can make these paths very complex, e.g. cd %COMMANDER_PATH%\..\..\some_other_directory etc.
Author of Total Commander
https://www.ghisler.com
Post Reply