Content starts here
CLOSE ×
Search
Reply
Recognized Social Butterfly

FYI, Easiest Way to Rename Many Files

Use the console rename command inside a BAT (*.bat) file that is put in the same directory as the files whose names you want changed and then open that BAT file.

 

For example, I used a BAT file with this text written with notepad:

---------------------------------------------------------

 

rename "0_frame_00*.png" "//////////*.png"
pause

 

---------------------------------------------------------

 

"0_frame_0001.png" becomes "01.png"

"0_frame_0002.png" becomes "02.png"

etc.

 

More generally, the advantages to using a BAT file over entering commands on the console (command prompt) are:

 

1. You don't have to navigate to or specify a directory (except in Notepad's Save File).

2. You can more easily edit mistakes because you don't have to retype the part that is correct.

3. The BAT file is a self documenting template for future work therefore you don't have to remember the console commands in detail.  Often the BAT file is reusable without modification.

 

0 Kudos
627 Views
0
Report
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Users
Need to Know

AARP LIMITED TIME OFFER
Cyber Week Sale! Join or renew for just $9 per year - $45 billed at the time of a purchase with a 5-year membership.
Join or renew
and get a FREE gift!

AARP Membership Cyber Week Sale

More From AARP