Add Zero's to the file to make 6 digit file name
Posted: Sat Dec 16, 2023 9:33 pm
I have a folder containing several image files, all starting with 'R-.' I would like to add leading zeros to the filenames to ensure they have a six-digit file name format.
In the following example, the first two filenames are correct, but for the remaining ones, I need to add the necessary zeros to achieve a six-digit filename. For instance:
Your assistance in this matter is appreciated
In the following example, the first two filenames are correct, but for the remaining ones, I need to add the necessary zeros to achieve a six-digit filename. For instance:
- R-001057.jpg = good
R-000058.jpg = good
R-753.jpg = R-000753.jpg
R-1054.jpg = R-001054.jpg
R-1055.jpg = R-001055.jpg
R-656.jpg = R-000656.jpg
Your assistance in this matter is appreciated