How to Rename Images in PC
Raza Ali Kazmi
The most important thing these days is to click photos as part of our everyday lives especially during events. Following an event, if you get the opportunity to capture precious moments of the event, your mobile phone would surely beep continuously for the next few days with messages from friends and family asking for the event pictures.
Many people post multiple images on their social media accounts daily and literally wait for an event to bring their Instagram accounts back to life.
If you have digital cameras like Olympus, Fujifilm or Leica and you have multiple images with random names stored on your device, we encourage you to read our guide before sharing the photos with your loved ones.
You must have noticed that when you use a digital camera to capture any photo, the name appears in a sequential pattern like DSC2501.jpg, DSC02502.jpg, etc. This pattern helps keep track of photos, but it helps little in actually identifying the photos. Sometimes we may get confused with these names and end up messing our photo folders. Here comes the batch renaming option that is a life-saver to avoid such consequences and save our time. Following are different methods that could be used for batch renaming photos.
Method 1: Batch File
Batch files are easy to use and do not use any third-party software to create batch files. Sometimes they are also called script files. The creation of batch files helps in renaming your photos captured from Olympus, Leica, or Fujifilm cameras.
Before we go into details about creating a batch file, we will first discuss the common errors you must avoid. Sometimes due to our little ignorance, we suffer and we fail to understand why the file is not executing. Here’s what you can do:
Make sure to add the double quote before your folder path. You can write “D:\ Folder A” instead of D:\Folder A. Avoid such file names that are already used in Windows functions. For instance, ping.cmd is used in Windows as a batch file name. So if you use the same name for your batch file, it may conflict with the system.
Step-by-step Guide
To rename your batch file, open the notepad from the start menu or directly search from the search box. After that, type the code. Replace all values that are provided in red in place of the code according to your requirement.
Script File
Once you have typed the code, open the File menu and select the Save As option.
Rename the file as MyRenamer.bat. The file type should be All Files and in the end, select the location containing the files that you wish to rename. Next, open up the File menu and click on Save. Close the Notepad and double-click on the file MyRename.bat to open it.
Method 2: File Explorer
File Explorer is our to-go place where we can easily find our documents, downloads, and images in one place. Not many of us are aware that File Explorer allows us to rename the batch file. Let’s see how it works.
Go to File Explorer and open the folder where your file is saved that you wish to rename.
On the ribbon, click on the View option. After selecting the view, a new ribbon appears. Tap the Current View from that. A drop-down menu appears, giving you different options. Tap on Type.
It will immediately group all your files in that folder according to the type (for example, JPEG, PDF etc.) so it becomes more comfortable for you to select a specific file type to rename.
How to select files in File Explorer
- You can press Ctrl + A for selecting all the files in that folder.
- Double Click on the group name of the type of file you want to select and it selects all the files in that group.
- If you do not want to select all the files in the group but only a specific sequence, locate the first file and left-click it. Press both the Shift and down arrow keys simultaneously, scroll through to the file that you wish to select.
- If you want to select files randomly, locate the first file and press the Ctrl key, then select all the other files.
- Once you are done selecting the file, press F2, rename the file and hit Enter.
Method 3: PowerShell
PowerShell is a Microsoft framework that is the most straightforward language for automating tasks using the command-line shell. PowerShell is extensively used for renaming files.
How does it work?
As it is automated, you can replace your files with another name and all of the fields having the same format will be renamed.
For example, if your files are saved as DSC02507.jpg, DSC02508.jpg, you can rename DSC with any other name like birthday photos_02507.jpg, birthday photos_02508.jpg, etc.
Stepwise Guide of Renaming Files Using Powershell
- Open Windows PowerShell.
- Replace the directory in red to the location where your files are present.
- Enter the command: CD D:\MyFiles.
- Next, enter the command mentioned below to rename your file:
Dir | rename-item -NewName {$_.name -replace “DSC”,“birthday photos_”}
Method 4: Easy File Renamer
The recommended and easy-to-use software that renames batch files quickly without the need to learn the scripts or manually select and rename the files is Easy File Renamer (EFR). Sorcim Technologies have programmed this file renaming software. Rename your photos captured by Olympus, Leica, or Fujifilm camera using its more than ten methods of renaming.
Features of EFR
- It is an automated software and ideal for beginners for renaming their files without any difficulty.
- It does not require any knowledge of scripting at all.
- You can add files from multiple locations.
- It allows you to rename the file in different patterns, including Find, Replace, Insert, Remove etc.
- It is safe and secure and gives a preview before renaming the files.
- It includes a license for web-renaming files so you can also carry out renaming for files that are saved on different cloud platforms including Google Drive, Dropbox etc.
- It is reliable in batch renaming photos, music, folders, songs, video, and other file formats. It is an error-free solution to copying files of large size and doesn’t mess with the ID3 tags of music files.