cm_edit does not work properly when the N parameter takes <
Moderators: Hacker, petermad, Stefan2, white
cm_edit does not work properly when the N parameter takes <
for example:
[em_CreateFile]
cmd=cm_edit
; Only one file named [C].xls will be created
param=/CGL0 /T="D:\tc\template" /N="<1-10>[C].xls"
; A dialog box will pop up
param=/CGL0 /T="D:\tc\template" /N="<[hms].xls"
; A dialog box will pop up
param=/CGL0 /T="D:\tc\template" /N="<[YMD].xls"
[em_CreateFile]
cmd=cm_edit
; Only one file named [C].xls will be created
param=/CGL0 /T="D:\tc\template" /N="<1-10>[C].xls"
; A dialog box will pop up
param=/CGL0 /T="D:\tc\template" /N="<[hms].xls"
; A dialog box will pop up
param=/CGL0 /T="D:\tc\template" /N="<[YMD].xls"
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
Re: cm_edit does not work properly when the N parameter takes <
Confirmed
Tested with the parameter either in the cmd field or in the param field.
/N="File<1-10>[C].xls" can't even make a file.
Tested with the parameter either in the cmd field or in the param field.
/N="File<1-10>[C].xls" can't even make a file.
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
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_edit does not work properly when the N parameter takes <
The /G parameter is not currently supported together with the < parameter, because the placeholder replacement happens in the "new file" dialog.
I will try to add it, or add a note to the help that it's not possible to combine the two.
I will try to add it, or add a note to the help that it's not possible to combine the two.
Leave out the /G and it will work./N="File<1-10>[C].xls" can't even make a file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_edit does not work properly when the N parameter takes <
Hmm, not here - try this button:Leave out the /G and it will work.
Code: Select all
TOTALCMD#BAR#DATA
cm_Edit
/CL0N="File<1-10>[C].txt"
wcmicons.dll,28
Test cm_Edit with [C]
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
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_edit does not work properly when the N parameter takes <
Sorry, I didn't see that you put <1-10> behind File. It must be at the start of the name.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_edit does not work properly when the N parameter takes <
This should be fixed in Total Commander 11.01 RC1, please test it!
09.08.23 Fixed: cm_Edit: Parameter /G (go immediately) didn't work with placeholders and counters, e.g. /CGL0 /T="c:\totalcmd\template" /N="<1-10>[C].xls" (32/64)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_edit does not work properly when the N parameter takes <
Confirmed fixed in TC 11.01rc1 

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: cm_edit does not work properly when the N parameter takes <
Moderator message from: petermad » 2023-08-22, 08:24 UTC
Moved to "TC Fixed bugs" from "TC11.x bug reports (English)"
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