✅❓ Button/em_command parameter like [P] from MRT

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

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

Re: Button/em_command parameter like [P] from MRT

Post by *ghisler(Author) »

OK, I have now added it like this:
%B+ C: (with colon)
%B+0 C (without colon)
the rest as described above.

However, the regular %B, %B1 etc. will not include the drive letter as before.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Button/em_command parameter like [P] from MRT

Post by *Fla$her »

Good. It suits me. Thanks! :)

Not really, though. For example, being in the root of the drive, an empty value will be returned instead of the name of the parent directory.
Maybe, make a letter without a colon at least for %B0 or %B-0?

Examples:

Command:Parameters:
ZIPFROMLIST -o -9"%T%B.zip" %UL
xcopy /chikqry"%O*.%E" "%T%B"
SAVETABS"%B"
Overquoting is evil! 👎
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Button/em_command parameter like [P] from MRT

Post by *Fla$her »

2ghisler(Author)
Thank you for the new supplements! Including the cmd call syntax for variables, this definitely makes sense. :)
But please consider my request for %B0 or %B-0.
Overquoting is evil! 👎
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Button/em_command parameter like [P] from MRT

Post by *Fla$her »

ghisler(Author) wrote: 2021-04-23, 13:56 UTCCurrently %B cuts the drive letter (or server name for UNC paths).
Please add all front backslashes to the %B+ output for FS plugins and network paths.
Overquoting is evil! 👎
Post Reply