ghisler(Author) wrote:
this isn't currently supported.
In the TC11.02... TC11.51 chains worked.
Perhaps after this fix:
History.txt wrote:
05.10.23 Release Total Commander 11.02 release candidate 1
...
11.09.23 Fixed: cd *.ext or cd c:\path\*.ext didn't work in command line, or when combining multiple commands in button bar (where the path must be put in double quotes) (32/64)
TOTALCMD#BAR#DATA
cd "*.txt",cm_SelectAll
wcmicons.dll,9
cd "*.txt",cm_SelectAll|https://www.ghisler.ch/board/viewtopic.php?t=85897|[TC11.55rc1-rc4] Command chain does not work with cd|cm_ClearAll,cd "History.txt"
-1
2tuska
To demonstrate the bug, an example is given in which an error appears, and not vice versa.
Use an absolute path or "%COMMANDER_PATH%\History.txt" - there will be no error either.
I can confirm that it works when using cd "%COMMANDER_PATH%\History.txt" instead of just cd "History.txt" - where if History.txt is present in the current directory.
And still - it worked with cd "History.txt" in TC 11.51 - so TC 11.55 is currently not backwards compatible in this matter.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14 TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Thanks, I understand the problem now. It's caused by the unfortunate change to support commands like this:
cd "test 1.*" "test 2.*"
To support this, I can no longer just remove the first double quotes, I have to remove them wherever needed. But this clashes with chained commands, where the parameters of cd must be always in double quotes, otherwise it would be impossible to find the end of a cd command. Because of this change, cd "History.txt" is passed with the double quotes to the cd command handler, which fails.
ghisler(Author) wrote: 2025-05-27, 20:08 UTC
Thanks, I understand the problem now. It's caused by the unfortunate change to support commands like this:
cd "test 1.*" "test 2.*"
To support this, I can no longer just remove the first double quotes, I have to remove them wherever needed. But this clashes with chained commands, where the parameters of cd must be always in double quotes, otherwise it would be impossible to find the end of a cd command. Because of this change, cd "History.txt" is passed with the double quotes to the cd command handler, which fails.
This is really annoying. Please just remove the change and everything will be fine again. Why do a customer keep making more and more pointless demands and, above all, "Ghisler Software GmbH" follow them? Please put such requests to "will not be changed" and stop answering at the subforumIn the interest of your professional customers who do not want to take steps backwards.