solved [TC 11.00b1] OPENBARMENU does not accept quoted path

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 11.00b1] OPENBARMENU does not accept quoted path

Post by *petermad »

history.txt wrote:03.05.23 Added: New internal command OPENBARMENU opens the passed .bar file as a dropdown menu. Only works when there is a top button bar (32/64)
Commands like:

Code: Select all

[em_openlocalbarasmenu]
cmd=OPENBARMENU .\local.bar
or

Code: Select all

[em_openlocalbarasmenu]
cmd=OPENBARMENU
param=.\local.bar
or

Code: Select all

[em_openlocalbarasmenu]
cmd=OPENBARMENU
param=%Plocal.bar
all works fine - but quoting the path as here:

Code: Select all

[em_openlocalbarasmenu]
cmd=OPENBARMENU
param="%Plocal.bar"
does not work, which is unexpected.
Last edited by petermad on 2023-05-10, 15:25 UTC, edited 1 time in total.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 50406
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b1] OPENBARMENU does not accept quoted path

Post by *ghisler(Author) »

Confirmed, I will remove any quotes.
Author of Total Commander
https://www.ghisler.com
KozakMak
Senior Member
Senior Member
Posts: 481
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: [TC 11.00b1] OPENBARMENU does not accept quoted path

Post by *KozakMak »

OPENBARMENU
%P%N

doesn't work?
OS: Win10 | TC: latest x64
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] OPENBARMENU does not accept quoted path

Post by *petermad »

KozakMak wrote: 2023-05-05, 05:44 UTC OPENBARMENU
%P%N

doesn't work?
Yes, but:
OPENBARMENU
"%Pmybar.bar"

does not work (and %P%N does not work either if there is spaces in the path/file name)
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
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b1] OPENBARMENU does not accept quoted path

Post by *petermad »

history.txt wrote:04.05.23 Fixed: New OPENBARMENU command now accepts path in double quotes (32/64)
Confirmed fixed in TC 11.00b2 :-)
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
Post Reply