How to PAD existing numbers in file names automatically

Bulk Rename Utility How-To's

How to PAD existing numbers in file names automatically

Postby Admin » Tue Apr 15, 2025 7:00 am

In Bulk Rename Utility, select all the file names to process, for example:

Code: Select all
73 SalesAnalysis.xlsx
294_Project_Summary.pdf
452Presentation_Final.pptx
842 Meeting Notes.txt
Agenda V3_771.doc
AuditLog_660Review.txt
Budget 92 Revision Plan.docx
Checklist 317 Items.docx
ClientMeeting_618_Record.txt
DesignMockup_44_v2.png
Draft_276_Policy.docx
Final_Report_317.pdf
MeetingSummary_230_Final.doc
Memo 5 Update Final.pdf
Minutes 721 Followup.txt
Plan 488 Draft Notes.docx
Proposal_202 2025.doc
Quote_89 Revised.pdf
ReleaseNotes_9b.txt
Weekly_Review_865.doc


Then In Name (2) select "Pad Numbers". Enter the amount of digits to PAD to, for example 5.

Result:

Code: Select all
73 SalesAnalysis.xlsx   00073 SalesAnalysis.xlsx
294_Project_Summary.pdf   00294_Project_Summary.pdf
452Presentation_Final.pptx   00452Presentation_Final.pptx
842 Meeting Notes.txt   00842 Meeting Notes.txt
Agenda V3_771.doc   Agenda V00003_771.doc
AuditLog_660Review.txt   AuditLog_00660Review.txt
Budget 92 Revision Plan.docx   Budget 00092 Revision Plan.docx
Checklist 317 Items.docx   Checklist 00317 Items.docx
ClientMeeting_618_Record.txt   ClientMeeting_00618_Record.txt
DesignMockup_44_v2.png   DesignMockup_00044_v2.png
Draft_276_Policy.docx   Draft_00276_Policy.docx
Final_Report_317.pdf   Final_Report_00317.pdf
MeetingSummary_230_Final.doc   MeetingSummary_00230_Final.doc
Memo 5 Update Final.pdf   Memo 00005 Update Final.pdf
Minutes 721 Followup.txt   Minutes 00721 Followup.txt
Plan 488 Draft Notes.docx   Plan 00488 Draft Notes.docx
Proposal_202 2025.doc   Proposal_00202 2025.doc
Quote_89 Revised.pdf   Quote_00089 Revised.pdf
ReleaseNotes_9b.txt   ReleaseNotes_00009b.txt
Weekly_Review_865.doc   Weekly_Review_00865.doc


More details:

Pad Numbers - Pad the numbers found in the name.
The first number that is found in the name is padded. Use Name Segment to pad a different number, e.g., not the first one. Specify the amount of padding in the text box, e.g., 3, 4, 5 etc. By default, 0 is used for the padding, but you can specify a different character to use after >. For instance, 5>A pads the first number found to 5 digits using A instead of 0. If just 5 is entered, and a padding character is not specified, then 0 is used to pad. The format to use is pad_amount>pad_character, with pad_character optional.
Admin
Site Admin
 
Posts: 2883
Joined: Tue Mar 08, 2005 8:39 pm

Return to How-To