Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sa16
Senior Member
Senior Member
Posts: 217
Joined: 2021-09-10, 07:15 UTC

Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Post by *sa16 »

In the "Choose command" dialog box, the button "Rename/Copy..." trims the "Parameters:" field to 259 characters (although the maximum is 2047 characters).
Bug?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Post by *ghisler(Author) »

Which parameters field do you mean?
I tried this:
1. cm_commandbrowser via command line
2. Clicked on usercmd.ini
3. Clicked on "New"
4. Entered a name, e.g. em_test
5. Clicked OK
-> there is a parameters field, but it's limited to 2047 characters.
Author of Total Commander
https://www.ghisler.com
sa16
Senior Member
Senior Member
Posts: 217
Joined: 2021-09-10, 07:15 UTC

Re: Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Post by *sa16 »

2ghisler(Author)
6. Clicked on " Rename/Copy… "
7. Entered a name, e.g. em_test_2
8. Clicked OK --> trims the "Parameters:" field to 259 characters

Example:

Code: Select all

[em_test]
cmd=%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe
param=/ef "tcm(524) set_ini(`%%COMMANDER_PATH%%\usercmd.ini`, em_temp, cmd, `MULTIRENAME $tmp`) set_tcini(Rename, $tmp_name, `"%O"`) set_tcini(Rename, $tmp_ext, `"%E"`) set_tcini(Rename, $tmp_params, `0|1|1|1`) set_tcini(Rename, $tmp_search, `*\`) set_tcini(Rename, $tmp_replace) tem(em_temp)"
menu=Rename file under cursor
[em_test_2]
cmd=%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe
param=/ef "tcm(524) set_ini(`%%COMMANDER_PATH%%\usercmd.ini`, em_temp, cmd, `MULTIRENAME $tmp`) set_tcini(Rename, $tmp_name, `"%O"`) set_tcini(Rename, $tmp_ext, `"%E"`) set_tcini(Rename, $tmp_params, `0|1|1|1`) set_tcini(Rename, $tmp_search, `*\`) set_tcini(Rename
menu=Rename file under cursor
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Post by *ghisler(Author) »

Ah, I see, thanks for the clarification.
Author of Total Commander
https://www.ghisler.com
sa16
Senior Member
Senior Member
Posts: 217
Joined: 2021-09-10, 07:15 UTC

Re: Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Post by *sa16 »

history.txt wrote:12.10.23 Fixed: Dialog box to choose commands (e.g. opened with cm_CommandBrowser): On the usercmd.ini page, clicking Rename/Copy didn't preserve lines longer than 259 characters (32/64)
Confirmed fixed in TC 11.02rc3.
Thank you!
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Dialog box: Choose command - the button "Rename/Copy..." trims the "Parameters:" field

Post by *white »

Moderator message from: white » 2023-10-19, 07:57 UTC

Moved to Fixed bugs.
Post Reply