You can have MC generate a counter using the
Counter() expression. It trims leading zeroes by default, but you can combine it with
PadNumber() to achieve that.
So, this would do the counter part:
PadNumber(Counter(),5)Now, I'm unclear what you mean by NAME in your examples, so it is impossible to tell you exactly what you need to do. If you mean the [Name] field, then you can do this:
1. Make sure the files are shown in the proper order, and that
only those files are visible in the View. The easiest thing is to put them in a Playlist all by themselves. This is because the Counter() will apply to all files visible in the view when you use it in Rename, Move, and Copy Files, not just the ones sent to the tool.
2. Select the files, and then open
Rename, Move, and Copy Files and put it in Rename mode.
3. Enable
only the Filename Template, and enter this for the rule:
[Name] PadNumber(Counter(),5)4. Apply the change if the Preview panel looks correct.
If by NAME you mean not the [Name] field, but the current Filename, then use this instead in the Filename Template Rule:
Filename(,0) PadNumber(Counter(),5)The
Filename() expression function has an optional mode that spits out the filename without the Extension. Filename(,0) does this. Note the comma before the zero, however, which tells it to work on the currently selected file.
If you need to force the counter to start at a particular digit, then specify the digit in the Counter() part. So, if you want:
NAME 00007
NAME 00008
NAME 00009
NAME 00010
NAME 00011
etc
Then you'd use this for the number generation part:
PadNumber(Counter(7),5)