[TC 11.57] This command doesn't work: cm_Edit /N="<test - [=tc.name]"

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

Moderators: petermad, Stefan2, Hacker

Post Reply
User avatar
white
Power Member
Power Member
Posts: 6941
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC 11.57] This command doesn't work: cm_Edit /N="<test - [=tc.name]"

Post by *white »

Paste these 2 buttons on the button bar:

Code: Select all

TOTALCMD#BAR#DATA
cm_Edit /CN="<test - [=tc.name]"

wcmicons.dll,28



-1

Code: Select all

TOTALCMD#BAR#DATA
cm_Edit /N="<test - [=tc.name]"

wcmicons.dll,28



-1
Suppose there is a file named "abc" in the file panel. Select the file and click the first button. The new file dialog pops up and the previews shows:

Code: Select all

test - abc
Now try the same with the second button. The editor is launched and the passed filename is:

Code: Select all

test - cm_edit 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57] This command doesn't work: cm_Edit /N="<test - [=tc.name]"

Post by *ghisler(Author) »

Not confirmed. Here I get test - test - abc, which is also wrong.
Temporary solution: Put
/N="<test - [=tc.name]"
in the parameters field instead.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 6941
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.57] This command doesn't work: cm_Edit /N="<test - [=tc.name]"

Post by *white »

10.05.26 Fixed: cm_Edit passed wrong name to editor with parameter /N="<test - [=tc.name]", it didn't use the name of the file under the cursor (32/64)
Tested OK with TC 11.57a pre1 32-bit and 64bit.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.57] This command doesn't work: cm_Edit /N="<test - [=tc.name]"

Post by *ghisler(Author) »

Please re-check with Total Commander 11.57a RC1!
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 6941
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.57] This command doesn't work: cm_Edit /N="<test - [=tc.name]"

Post by *white »

Tested OK using TC 11.57a rc1 32-bit and 64-bit.

Moderator message from: white » 2026-05-20, 13:41 UTC

Moved topic
» from TC11.x bug reports (English) to TC Fixed bugs
Post Reply