How To Rename Multiple Files Simultaneously In Windows 10

Renaming of a single file or a folder in Windows 10 is quite an easy job. Just right click on the file/folder that you want to rename, click on the “Rename” option, enter the new name and you’re done.

However, what if you want to rename multiple files at a time. There are several options to overcome this problem. This includes using the Command Prompt, any third-party program, Powershell or using the Windows Explorer.

Let us discuss each of these methods one-by-one for you to get an better idea regarding the procedure.

Renaming Multiple Files Using Windows Explorer

To rename multiple files within the same folder, first you need to select all the files within the folder either through a keyboard or using the mouse.

For selecting a file in a given folder using keyboard, just type the file name or select it using the arrow key. Once you have got the file selected, press the F2 key to select the file name. Here you will notice that only the file name gets selected while the extension remains as it is. Once done typing the NEW name for your file, press the “Enter” key.

The good thing here is that to move to another file, just press the Tab key. The new file name will automatically be selected, so just change it to the name you want and proceed ahead with this method for every other file.

While selecting the file name using the mouse, you have three ways to do it:

  • Right-click on the desired file and then select “Rename” in the context menu.
  • Click to select a particular file and then click on the name of the selected file.
  • Click to select a file and further click on the “Rename” option in the Home menu.

However if you have to put a particular name only to all your files within a folder, select them at once by using the Shift + Arrow Keys or Ctrl + Mouse clicks. Once selected use any one of the above mentioned methods to Rename files. All the files here will remain selected and the first one will get highlighted for you to change the file name.

Just type the new name and all the files will get the same name, and will be numbered in sequence automatically by Windows.

Renaming Multiple Files Using Command Prompt

If you are ok with using some codes, Command Prompt is another way to rename multiple files in Windows. Codes like “rename” or “ren” will come to your help. Special characters like * and ? can be used to select a bunch of files from a particular folder or location.

First of all to begin with, open the folder where you desired file/files is/are stored. In the “File” menu, point to “Open Command Prompt” and the select “Open Command Prompt”.

In case you want to rename a single file, use the following code:

ren "current_filename.ext" "new_filename.ext"

In a similar manner, you can even change the file extensions by using the following command:

ren *.txt *.html

Here, the above command will change a .txt file to an .html file.

Renaming Multiple Files Using PowerShell

PowerShell is the built-in tool of Windows 10 that is used for renaming of multiple files at once. This is one of the most feature-rich method giving the users several options on-board. However, for beginners, this might turn out to be a bit complicated at times. However, with time and patience if you learn this, it might prove to be the most useful way of renaming multiple files simultaneously. The two most important commands that you will use with PowerShell is “Dir” and “Rename-Item”.

Just follow the following steps in sequence:

  • Navigate to Search, type PowerShell and then Open PowerShell
  • Then enter the command ‘cd’ followed by the location of the folder whose file you want to rename. As a measure of safety, just transfer all files you want to rename to a separate folder, so that you do not end up renaming files in other folder.
  • In case you want to rename a single file name, use command : rename-item  “current_filename.ext” “new_filename.ext”
  • Suppose but we wan’t to replace the spaces in the file name with underscore for e.g. the use the command : dir | rename-item -NewName {$_.name -replace ” “,”_”}

  • Similarly you can explore more possibilities and commands with PowerShell here.

Using all the above methods, you can easily rename files at your own convenience. In case of any queries, drop your request in the comments box below.

Image Courtesy : HowToGeek

Leave a Reply

+ 45 = 47