It is sometimes NOT wanted that TC automatically sets quotation marks around file and paths when using parameters like %P%N, %P%S and %Cn - espically when you want to test the parameters using DOS.
I would like to suggest two new parameters %y and %Y that should work a little like %x and %X, but %Y should mean that AFTER this point don't set any quotation marks, and %y should mean set quotation marks as usual after this point.
[implemented] New % parameter for button bar and em_commands
Moderators: Hacker, petermad, Stefan2, white
[implemented] New % parameter for button bar and em_commands
Last edited by petermad on 2023-05-25, 13:46 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
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
2MVV
You can to a certain degree do an Aways Quote with my suggestion - just use %Y and then put the Quotes yo want yourself - like %Y "%P%N" "%C1".
But I can see the benifit of your request for lists like %L %F %UL and %WL so that for example &QA "%L" means that all items in the list should be surrounded by quotes. Also for %S an alway quote function could be usefull.
You can to a certain degree do an Aways Quote with my suggestion - just use %Y and then put the Quotes yo want yourself - like %Y "%P%N" "%C1".
But I can see the benifit of your request for lists like %L %F %UL and %WL so that for example &QA "%L" means that all items in the list should be surrounded by quotes. Also for %S an alway quote function could be usefull.
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
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I agree, Button Parameter "%Q" (Posted: 07/25/2010)
Although, I would say that I would find it more useful (today) if TC could pass lists of files|folders|paths with an alternate delimiter -- instead of space. I would set the delimiter to \r\n. One might also choose to set it to any one of the obvious illegal characters under windows
Although, I would say that I would find it more useful (today) if TC could pass lists of files|folders|paths with an alternate delimiter -- instead of space. I would set the delimiter to \r\n. One might also choose to set it to any one of the obvious illegal characters under windows
- *"<>|
Last edited by Balderstrom on 2016-08-01, 01:47 UTC, edited 4 times in total.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Re: New % parameter for button bar and em_commands
Implemented as %Q in TC 10.51rc 1 

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