How to batch rename files or change extensions at the same time in Windows

Who I am
Philippe Gloaguen
@philippegloaguen
SOURCES CONSULTED:

support.microsoft.com

Author and references

How to batch rename files or change extensions at the same time in Windows: - Renaming batch files can be easily done with the help of our Windows Explorer. Also, you can change the extensions of multiple files at the same time using the command prompt. In this article, we have explained both tricks very simply with clear screenshots. I hope you find the article useful.

Rename multiple files simultaneously with Windows Explorer

You can batch rename files in Windows using a very simple method. Here you can specify a new name for the files and the files will be renamed accordingly. The limitation is that it is not possible to assign separate names during batch rename. The files are renamed progressively.



STEP 1 - Suppose you have a folder full of files that you want to rename all at once. In my case, I have a folder called rename files which has all the files that need to be renamed.

STEP 2 - Select all files. Then click on the file Rename as shown in the screenshot. Or you can just press the button F2 key. Another option is to right click and choose the file Rename context menu option. This will highlight the name of the first file in the selected file set.

STEP 3 - Enter the new name you want to rename all files to. Press the Enter key.

STEP 4 - Now you can see that all files are renamed at the same time.


Change multiple file extensions using the command prompt

You can change the extensions of multiple files at the same time using the command prompt. For example, you can change jpg files to png files, text files to html files and so on. with a single command.


STEP 1 - Right-click the folder that contains the files whose extensions need to be changed. As you right-click, make sure you hold down the Shift key on your keyboard. In the context menu, find and click on the option named Open the command window here.


STEP 2 - This will open the file Symbol of the system. It will open in the folder that contains all the files. You can type the command ren * .extension1 * .extension2 to change file extensions at the same time.


  • ren is the command word for renaming.
  • *. indicates it first . (point), any number of characters can be displayed.
  • extension1 is the extension you want to change.
  • extension2 is the new extension to use.

STEP 3 - Now if you take a look, you can see that all file extensions have been changed. In my example, I changed all my text files to html files.

If you have any suggestions or concerns, leave your comments in the comments section below. Thanks for reading the article

Audio Video How to batch rename files or change extensions at the same time in Windows
add a comment of How to batch rename files or change extensions at the same time in Windows
Comment sent successfully! We will review it in the next few hours.