How to rename file or folder names on bulk using command prompt?
![]() |
| Rename files on bulk |
How to rename file or folder names on bulk using command prompt?
Let’s say I have to rename all the files[nearly 100 files] from the folder path [C:\Users\kprabin\Desktop\Image\Images].
Step 1:
Go to the file location that you have to rename and type [cmd] on the address bar and click enter. This will open the command prompt for specific location to proceed.
Step 2:
Type [dir /b] in the command prompt to get all the file names in the current folder.
Step 3:
Copy all the names from the command prompt that you would like to rename.
Step 4:
Create
a formula with the below mentioned format for all the files.
ren “[old name]” “[new name]”
To rename the files in bulk, kindly use the template Rename File Names.
Step 5:
Copy the data from the formula column and paste it in the command prompt and click enter. Ignore the warning for multiple lines pasting.
We have now renamed all of the files as desired.
Happy excel!
.png)




Comments
Post a Comment