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.
✅❓ Button/em_command parameter like [P] from MRT
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Button/em_command parameter like [P] from MRT
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Button/em_command parameter like [P] from MRT
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:

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! 👎
Re: Button/em_command parameter like [P] from MRT
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.
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! 👎
Re: Button/em_command parameter like [P] from MRT
Please add all front backslashes to the %B+ output for FS plugins and network paths.ghisler(Author) wrote: 2021-04-23, 13:56 UTCCurrently %B cuts the drive letter (or server name for UNC paths).
Overquoting is evil! 👎
Re: ✅❓ Button/em_command parameter like [P] from MRT
Bump for TC 11.50Fla$her wrote: 2023-03-08, 23:04 UTC Please add all front backslashes to the %B+ output for FS plugins and network paths.
Overquoting is evil! 👎