Page 1 of 1

Don't add a counter to the first file for cm_Edit

Posted: 2023-08-21, 17:49 UTC
by Fla$her
In many programs and scripts for creating and copying files, the first file doesn't receive a counter.
Please make sure that there is the same opportunity. Let's say with /X.
For example, the parameter /CGL0XN="<5>name[_][C].ext" should give this result:

Code: Select all

name.ext
name_2.ext
name_3.ext
name_4.ext
name_5.ext
This shouldn't apply to <[2+]-N>.

Re: Don't add a counter to the first file for cm_Edit

Posted: 2023-08-22, 09:56 UTC
by petermad
Instead of an X parameter I suggest that <-5> should be changed from making files from name_0.ext to name_5.ext it should make the files from name_.ext to name_5.ext

You can still use <0-5> to make files from name_0.ext to name_5.ext

Re: Don't add a counter to the first file for cm_Edit

Posted: 2023-08-22, 11:56 UTC
by Fla$her
2petermad
I don't see the connection. If the first file had 0, there would have been 6 files instead of 5.
Also note the underscore. If it is placed in square brackets, then it should also not be in the first name.
It will be easier to regulate this with a key like X. It can be a space with parentheses, for example: /CGL0XN="<5>name[ (][C][)].ext"

Code: Select all

name.ext
name (2).ext
name (3).ext
name (4).ext
name (5).ext