How To Batch Rename Files Or Change Extensions At Once In Windows

How To Batch Rename Files Or Change Extensions At Once In Windows:- Batch renaming files can be easily accomplished with the help of our own Windows explorer. Also, you can change the extensions of multiple files all at once using the command prompt. In this article, we have explained both these tricks in a very simple way with clear screenshots. Hope you find the article useful.

Rename Multiple Files At Once Using 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 get renamed accordingly. The limitation is that you cannot give seperate names while batch renaming. The files get renamed in a progressive fashion.
STEP 1

  • Let’s say you have a folder full of files that you want to rename all at once. In my case, I have a folder named renameFiles which has all the files that need to be renamed.

1files

STEP 2

  • Select all the files. As next, click on the Rename button as shown in the screenshot. Or you can simply press the F2 key. Another option is right clicking and choosing the Rename option from the context menu. This will highlight the name of the first file in the selected set of files.

2select

STEP 3

  • Type in the new name with which you want all the files to be renamed. Hit enter key.

3newname

STEP 4

  • Now you can see that all the files are renamed at once.

4changed

Change Extensions Of Multiple Files Using Command Prompt

You can change the extensions of multiple files at once by using the command prompt. For example, you can change the jpg files to png files, text files to html files etc with a single command.
STEP 1

  • Right click on the folder that contains the files whose extensions need to be changed. While right clicking, make sure that you hold down the Shift key in your keyboard. From the context menu, find and click on the option named Open command window here.

5opencommand

STEP 2
This will open up the Command Prompt. It will be opened at the folder that has all the files. You can type in the command ren *.extension1 *.extension2 to change the extensions of the files all at once.

  • ren is the command word for rename.
  • *. indicates that before the . (dot), any number of characters can occur.
  • extension1 is the extension that you want to change.
  • extension2 is the new extension to be used.

6command

STEP 3

  • Now if you have a look, you can see that all the file extensions are changed. In my example, I have changed all my text files into html files.

7renamed

If you have any suggestions or doubts, please leave comments in the comments section below. Thank you for reading the article.


css.php