button bar, start menu target dir issue (%M passes '..' )

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

Moderators: Hacker, Stefan2, white, sheep

Post Reply
hs2
Junior Member
Junior Member
Posts: 10
Joined: 2005-04-21, 09:38 UTC

button bar, start menu target dir issue (%M passes '..' )

Post by *hs2 » 2018-07-28, 10:18 UTC

As opposed to %N parameter the %M parameter passes '..' to program when cursor is on 'go to parent directory' entry
According to history this was fixed for %N parameter for TC9.20 beta 3
If I don't miss something else I think both parameters should behave the same.
Regards, HS2

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

Re: button bar, start menu target dir issue

Post by *petermad » 2018-07-28, 16:28 UTC

I agree that %N and %M should act the same on ..
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91b4 on Android 6.0
Get Extended Total Commander Menus | PHSM-Calendar

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

Re: button bar, start menu target dir issue

Post by *ghisler(Author) » 2018-07-29, 07:23 UTC

This could break a lot of functions, postponed to a later version.
Author of Total Commander
http://www.ghisler.com

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

Re: button bar, start menu target dir issue

Post by *ghisler(Author) » 2018-08-01, 16:38 UTC

I found some spare time today to fix it in RC2, please test. Please note that you only got '..' when using %M together with %T (%T%M), not when using it alone.
Author of Total Commander
http://www.ghisler.com

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

Re: button bar, start menu target dir issue

Post by *petermad » 2018-08-01, 21:01 UTC

Confirmed that %T%M and %P%N now works the same way on [..] - that is not showing ".." at the end of the path in TC 9.21rc2 :-)
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91b4 on Android 6.0
Get Extended Total Commander Menus | PHSM-Calendar

Post Reply