It would be convenient if other TC parameters could be used for the appended text - so that a construction like for example this this: "%P%S%N" would append the output of %N instead if just appending the string %Nhistory wrote:29.04.21 Added: Parameters %S, %R, %P%S and %T%R now support appended text for each file. The parameter must be in double quotes, e.g. "%P%S.bak" would append .bak to each name (32/64)
09.08.23 Added: Button bar, start menu, parameters field: Better handling of parameters %S, %R, %P%S and %T%R in double quotes with appended text: "%Sbeforeext%Eafterext" inserts string beforeext before extension, and string afterext after. Supports env vars in the form %|variablename| (32/64)
Support of parameters in appended text for parameters %S and %R
Moderators: Hacker, petermad, Stefan2, white
Support of parameters in appended text for parameters %S and %R
The history txt says:
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
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
Re: Support of parameters in appended text for parameters %S and %R
I'm wondering, why not treat this as a bug?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Support of parameters in appended text for parameters %S and %R
This is unfortunately unfeasible to add. I would either add the entire code again inside of itself to handle variables within variables, or somehow call it recursively, which would lead to lots of problems with double quotes etc.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com