%Commander_Drive% NOT WORKING IN TAB FILE

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
brahman
Senior Member
Senior Member
Posts: 208
Joined: 2006-04-26, 13:27 UTC

%Commander_Drive% NOT WORKING IN TAB FILE

Post by *brahman »

Hi,

when making a tab file using the variable %Commander_Drive%, the tabs which contain this variable are not working. Same result when using the variable in the ini file for start up tabs.

IMHO it is important to fix this issue, since it is vital to have the %Commander_Drive% variable working in start up tabs so that TC can be efficiently used from a USB Drive, where TC may reside buried in a subdir and the tabs need to reference a totally different directory branch.

Kind regards,

Brahman
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

May I add that %COMMANDER_PATH% is not working in .tab files either.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

This is a known limitation and by design. Christian confirmed this more than once. :(

Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed environment variables aren't currently supported in Tab files. I could add it easily, but the variables would be lost when the tabs are saved. Would it still be useful under that condition?
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

2ghisler(Author)
How about using them (vars) for locked tabs only and optionally (key in wincmd.ini to allow)?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

... variables would be lost when the tabs are saved. Would it still be useful under that condition?
Even for manually created/modified Tab files with a fixed configuration it would be very helpful.
#5767 Personal license
User avatar
ND
Member
Member
Posts: 150
Joined: 2006-04-10, 16:24 UTC
Location: Sibiu, RO

Post by *ND »

ghisler(Author) wrote:the variables would be lost when the tabs are saved. Would it still be useful under that condition?
On my home PC I don't need this, but on my USB stick I'd very much like to have %COMMANDER_PATH% supported in tabs. Since there I keep my wincmd.ini and my .tab files read-only, I don't have a problem with losing the environment variables on save :)
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
brahman
Senior Member
Senior Member
Posts: 208
Joined: 2006-04-26, 13:27 UTC

Post by *brahman »

By all means it would be useful:

I work with tabs and default tabs upon opening a lot. When TC starts, I have 8 or 9 tabs open.

For my wincmd.ini used in an USB environment I wanted to add variables as part of the startup tab paths, but it was not possible and this diminished the usefullness of tabs in a portable environment a lot.

There is no need for an option to switch it on or off if you add variables in tabs, since this feature (as with almost all commander path variables!) is mainly applied when you manually edit the ini or tab files to be used for special situations.

Variable paths are highly valuable in special environments like USB sticks. So why not unlock the full potential of these variables by enabling (or rather adding) it to TC?

I would be very happy to see it in one of the next maintenance releases :).

Best regards and congratulations to such a fine program (my most used program of all):

Brahman
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed (enabled) in TC 7.02 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
brahman
Senior Member
Senior Member
Posts: 208
Joined: 2006-04-26, 13:27 UTC

Thank you!

Post by *brahman »

Thank you very much, works beautifully!

Kind Regards,

Brahman
Post Reply