My question was closed as exact duplicate 11 days ago:
batch-rename filenames with numbers to sort alphabetically
For some reason i did not receive any notification about this, so I noticed it just now.
The referenced duplicate question is:
How can I mass rename files from the command line or using a 3rd party tool?
While both questions deal with mass-renaming, i do not understand how the previous question is identical to mine, and none of the answers to the previous question seem to answer my question.
In a set of files with the same prefix text followed by a number, I want to pad each number with as many zeroes as the highest number has digits.
previous question (highlighting by me):
I've got a bunch of files named with a the pattern 99 - DescriptiveName.txt and I'd like to remove the number from the front so I just have DescriptiveName.txt.
Removing a number and padding the number with the appropriate amount of zeroes are certainly related problems, but still fairly different. Simply removing all digits is much easier than finding the largest number for each related set and padding the other numbers. And none of the tools suggested in the first question (Bulk Rename Utility, AntRenamer, Free Commander Portable etc.) seem to be capable of solving my padding problem.
Perhaps there is no tool capable of this, and I need to write a script, as the only comment to my question before the locking suggests. If so that would of course be an acceptable answer.
Or perhaps my question was poorly worded, then I would like to get some feedback about that and revise it until the meaning is apparent.
But I always try my best to find whether a question has been answered in the past, before asking it, so I am a bit miffed that it was marked as a duplicate.