by Barry Dysert
(last updated September 26, 2016)
It's possible to rename multiple files at the same time. In fact, there are a couple of ways to do it. Perhaps the simplest way is to use Windows Explorer. Say that you have a group of files such as what appears in the following figure: (See Figure 1.)
Figure 1. A set of files to be renamed.
To rename these files, create a selection set of the files (creating a selection set is covered under another tip) so that they are all selected. You can then press F2 (or right-click on a selected file and choose Rename from the Context menu) and type the "base name" you want each of your files to have. (See Figure 2.)
Figure 2. Renaming a selection of multiple files.
When you press Enter to complete the rename, each selected file will end up with the same base name with numbers following it in parentheses. (See Figure 3.)
Figure 3. The set of files after the rename.
There is another way to rename a set of multiple files. This second way uses the FOR command at the Command Prompt (displaying the Command Prompt is covered under another tip). Again, assume that you have the six files as shown in the first figure, above. To rename all six, go to the Command Prompt and type the following (terminating by pressing the Enter key):
C:\> FOR /L %I IN (1,1,6) DO REN 00000%I.JPG "Hawaii (%I).JPG"
This tip (12883) applies to Windows 7, 8, and 10.
Doing a one-time create of a system repair disk can be worth its weight in gold if you find yourself unable to boot your ...Discover More
Files are the basis of how information is stored on a disk drive. In order for files to be organized and effectively ...Discover More
A system image is a snapshot of your system disk as of a certain point in time. Should the need arise, you can restore ...Discover More
FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."