Although many things can be done in the simplest ways, it interests and even benefits us to discover and learn some new approaches. We all know how to rename a file or folder under Windows. All we need to do is to right-click on the file/folder and select Rename. Actually, there are some other methods to do that. This post shows you three ways to rename a file in Windows 10.
- Way 1: in File Explorer
- Way 2: with Command Prompt
- Way 3: with Windows PowerShell
Way 1: Rename a file in Windows 10 File Explorer
It is the most common and straightforward way to rename a file or folder in File Explorer. You can do that with any of the three means as shown below.
- Click the file you want to rename to select it, click it again to make its name editable, then type a new name and press the Enter key to confirm that. The interval between the two clicks should be more than one second, just in case that you double-click the file to open it instead of selecting it.
- Click the file you want to rename to select it and press the F2 key on your keyboard to make its name editable. Then type a new name and press Enter.
- Right-click on the file, select Rename from the context menu and then type a new name and press Enter.
Way 2: Rename a file using Command Prompt in Windows 10
You may not use this way often, but you can get to know how it works.
Step 1: Open the folder that contains the file you want to rename.
Step 2: Click the file to select it. Click the File tab, point to the Open Command Prompt option from the menu, and then click Open Command Prompt.
Step 3: After the Command Prompt window opens, type in ren "current_filename.ext" "new_filename.ext" and press the Enter key. The .ext is the file name extension.
Way 3: Rename a file with Windows PowerShell
Step 1: Open the folder that contains the file you want to rename.
Step 2: Select the file you want to rename, click the File tab, point to the Open Windows PowerShell option, and then click Open Windows PowerShell.
Step 3: After the Windows PowerShell window opens, type rename-item "current_filename.ext" "new_filename.ext", and press Enter.
The above is the detailed content of 3 Ways to Rename A Single File in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

8BitDo Retro R8 Gaming Mouse: Great Value Offers are coming! The 8BitDo Xbox Edition R8 is an officially licensed translucent green wireless gaming mouse that uses a PAW 3395 sensor, supports three connectivity modes: Bluetooth, 2.4G and wired USB-C, and is equipped with programmable buttons and a charging dock. Amazon is selling well now! This high-performance wireless gaming mouse is currently priced at just $47.99, enjoying a 20% discount, a record low! Originally priced at $59.99, the R8 mouse is absolutely worth the money with its excellent features and officially licensed Xbox design. Its dazzling translucent green shell is similar to the first generation Xbo

Copilot PCs Get Enhanced Recall and Windows Search Features Microsoft's Copilot PCs are receiving significant updates to their Recall and Windows Search functionalities. These improvements leverage the power of the device's integrated TPU (Tensor

High CPU usage in Outlook? Microsoft's got a fix coming. Many Outlook users on Windows have reported a frustrating issue: their CPUs are spiking to 30-50% while simply composing emails. This impacts performance, battery life (especially on laptops),

Related ##### Before Dropbox and OneDrive, We Had Windows Briefcase Windows Briefcase: A Pioneer in File Synchronization. Posts 1 Choosing a navigation app? Bing Maps offers the closest experience to the discontinued Windows Maps. Google Maps and

The "breviation package" feature introduced by Windows 95 makes file synchronization possible. At that time, this function was unique in the field of file synchronization. However, with the rise of cloud services such as OneDrive, Microsoft has gradually phased out the "branded briefcase" feature since Windows 8. You might be surprised that file synchronization is not a new technology, in fact, Microsoft has provided this feature with a virtual folder called "Briefcase" as early as Windows 95. A brief history of Windows "Briefcase" As the name suggests, the "brookie" feature was released with Windows 95 released in 1995, which is still considered by many to be one of the best operating systems. It has user friends

Razer Pro Click V2 Vertical Edition Review: Comfort and Performance Razer's first vertical mouse, the Pro Click V2 vertical version, is known for its ergonomic design. The tilt angle of 71.7 degrees, like a handshake, effectively reduces wrist pressure. In terms of technical specifications, the vertical version and the standard version of Pro Click V2 have many similarities. Both are equipped with Razer's advanced Focus Pro optical sensor, with a maximum sensitivity of 30,000 DPI, a maximum speed of 550 inches per second and a maximum acceleration of 40G. All mechanical buttons can withstand 60 million clicks, ensuring durability. In terms of battery life, the vertical version is up to 6 months

Western Digital's 40TB HDDs: A Stepping Stone to 100TB Western Digital (WD) is gearing up to launch 40TB hard disk drives (HDDs), but their ambitions extend far beyond that. This move is a crucial step in WD's roadmap to achieve its ambitious goal:

Windows Subsystem for Linux (WSL): Your Gateway to the Linux World While Windows enjoys widespread consumer popularity for its user-friendliness, Linux dominates the professional sphere. Whether you're a curious beginner or seeking seamless Windows-


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

WebStorm Mac version
Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
