Home Computer Tutorials Computer Knowledge 2 tips to teach you how to batch rename Windows easily

2 tips to teach you how to batch rename Windows easily

Mar 23, 2024 am 09:46 AM
windows document double naming

2 招教你轻松搞定 Windows 批量重命名

In the Windows operating system, changing the name of a single file is relatively simple, but when a large number of photos and files are involved, manually changing the name one by one can become tedious. But don't worry! Windows provides a batch rename feature and Microsoft PowerToys tools that can help you solve this problem efficiently. By using these features, you can easily batch rename multiple files, saving time and effort. Instead of manually changing file names one by one, these functions allow you to add prefixes, suffixes to multiple files at once, or rename them according to specific rules, making file organization and management more convenient. Therefore, take advantage of the batch rename feature provided by Windows and Microsoft PowerToys

Method 1: Use "File Explorer" to batch rename in sequence

The built-in renaming function of Windows File Explorer can help users conveniently modify file names in batches. Although the function is simple, it can already meet most daily needs.

1Use the Windows E shortcut key to open "File Explorer" and find the folder where the file you want to rename is located.

2Select the file to be renamed:

  • Press Ctrl A to select all files.
  • Hold down the Ctrl key and click or select multiple files.

3Press the F2 shortcut key or click the "Rename" button on the toolbar.

4 Enter the new file name in the editable text box, and then press the "Enter" key to confirm.

Batch rename in sequence through "File Explorer"

When you rename multiple files, the system automatically adds the same base name to each file and then appends a sequence of numbers after the name. For example, if you rename a file to "Reports", the system will generate a naming format like "Report(1)", "Report(2)" through "Report(n)". This feature can help you quickly organize and identify large numbers of files and avoid duplicate name problems.

If an error occurs during the renaming process, or you want to restore the original file name, you can press Ctrl Z to undo the changes.

Method 2: Use PowerRename to batch modify file names

PowerToys is a set of free utility tools provided by Microsoft for Windows. The PowerRename function is specially used to modify file names in batches.

Advantages of PowerRename

  • Compared with the batch renaming function that comes with Windows, PowerRename provides more control options and customization functions.
  • Supports the use of regular expressions for precise matching and replacement operations.

How to use PowerRename

1Download and install PowerToys from the Microsoft Store.

2 Open the PowerToys settings, select "PowerRename" in the left menu, and turn on the "Enable PowerRename" switch.

Enable PowerRename

3 In "File Explorer", find the folder where the file you want to rename is located.

4Select the file you want to rename, then right-click and select "Rename using PowerRename".

Rename using PowerRename

5Set renaming rules:

  • Enter the text or regular expression you want to find in the "Search" box.
  • Enter the replaced text in the "Replace" box.

6 Click the "Apply" button to apply the renaming rules.

PowerRename usage example

For example, I have a batch of desktop wallpapers downloaded from Bing. The file names are similar to OHR.BalloonDay_ZH-CN7571792218_UHD.jpg. To change:

  1. OHR. is replaced with Bing_;
  2. Delete the _ZH-CN7571792218_UHD part in the file name;
  3. Change the .jpg extension to .jpeg in batches.

It can be operated in the following three steps:

1Enter OHR. in the "Search" box, enter Bing_ in the "Replace" box, and then click "Apply".

Replace text

2 Check "Use regular expressions" and enter _([^_] )_UHD in the "Search" box to find the second one starting with _ and ending with UHD and replace it with empty, that is, delete this part. Then click "Apply".

Use regular expressions

How to write regular expressions, please refer to Microsoft official documentation: Regular Expression Language – Quick Reference.

3 Enter jpg in the "Search" box, enter jpeg in the "Replace" box, select "Extension Only" in the "Apply to" drop-down list and click "application".

Batch replacement extensions

This step will replace the jpg extension with jpeg, but it does not involve format conversion, just a name change. Since jpg is jpeg, you can do this.

This article introduces two methods of batch renaming files in Windows systems, using the "File Explorer" that comes with Windows and the Microsoft PowerToys tool. Both methods have their own advantages and disadvantages, and you can choose the appropriate method according to your needs.

The above is the detailed content of 2 tips to teach you how to batch rename Windows easily. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1269
29
C# Tutorial
1249
24
How to copy and paste mysql How to copy and paste mysql Apr 08, 2025 pm 07:18 PM

Copy and paste in MySQL includes the following steps: select the data, copy with Ctrl C (Windows) or Cmd C (Mac); right-click at the target location, select Paste or use Ctrl V (Windows) or Cmd V (Mac); the copied data is inserted into the target location, or replace existing data (depending on whether the data already exists at the target location).

Can vs code run in Windows 8 Can vs code run in Windows 8 Apr 15, 2025 pm 07:24 PM

VS Code can run on Windows 8, but the experience may not be great. First make sure the system has been updated to the latest patch, then download the VS Code installation package that matches the system architecture and install it as prompted. After installation, be aware that some extensions may be incompatible with Windows 8 and need to look for alternative extensions or use newer Windows systems in a virtual machine. Install the necessary extensions to check whether they work properly. Although VS Code is feasible on Windows 8, it is recommended to upgrade to a newer Windows system for a better development experience and security.

Which operating systems are supported by Tigervnc in Debian Which operating systems are supported by Tigervnc in Debian Apr 12, 2025 pm 10:15 PM

The open source VNC tool Tigervnc is compatible with a wide range of operating systems, including Windows, Linux, and macOS. This article will introduce in detail the application of Tigervnc on the Debian system. Tigervnc is integrated in the application system of Debian system: In the Debian system, Tigervnc is integrated into the system as a VNC server component. Users can start VNC services through command line tools such as vncserver and customize display settings such as resolution and color depth. Cross-platform connection: Tigervnc client supports Windows, Linux, and macOS, which means users can run this from any

How to run sublime after writing the code How to run sublime after writing the code Apr 16, 2025 am 08:51 AM

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.

laravel installation code laravel installation code Apr 18, 2025 pm 12:30 PM

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)

How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! How to solve complex BelongsToThrough relationship problem in Laravel? Use Composer! Apr 17, 2025 pm 09:54 PM

In Laravel development, dealing with complex model relationships has always been a challenge, especially when it comes to multi-level BelongsToThrough relationships. Recently, I encountered this problem in a project dealing with a multi-level model relationship, where traditional HasManyThrough relationships fail to meet the needs, resulting in data queries becoming complex and inefficient. After some exploration, I found the library staudenmeir/belongs-to-through, which easily installed and solved my troubles through Composer.

Recommended system maintenance and optimization tools in Mac system Recommended system maintenance and optimization tools in Mac system Apr 12, 2025 pm 04:45 PM

Mac system maintenance includes: disk management (use OmniDiskSweeper to clean disk space, use disk tools to check disk errors) memory management (use Activity Monitor to monitor memory usage, end over-occupying processes) startup item management (use Linc or LaunchControl to manage startup items, disable unnecessary startup items) system cache cleaning (use CleanMyMac X or manually clean system cache) software update (timely update system and applications) regular backup (use Time Machine to backup data regularly) good usage habits (not installing applications excessively, cleaning files regularly, and monitoring system logs)

git software installation git software installation Apr 17, 2025 am 11:57 AM

Installing Git software includes the following steps: Download the installation package and run the installation package to verify the installation configuration Git installation Git Bash (Windows only)

See all articles