6 Ways to Rename Files and Folders in Windows 10

Windows 10 hero image

You can rename files on Windows 10 in several ways. If you always click the right mouse button and select “Rename” each time you want to change the name of a file, we have a few tips to make it faster.

Rename files and folders using File Explorer

Windows 10 File Explorer is a powerful tool. Did you know that there are four different ways to rename a built-in file or folder? There is a keyboard shortcut that lets you rename a file or folder without having to click a mouse as well.

All methods that use File Explorer to rename a file or folder work the same for both.

Using the home menu

Launch File Explorer by pressing Windows + E and navigate to a directory containing a file or folder to rename.

Click on a file or folder to select it, then click “Rename” on the Home menu at the top of File Explorer.

Once the name is selected, if you rename a file and not the file extension, you can start typing a new name. If you have set up file explorer on show file extensions, be sure to change only the file name.

Type the new file name and press Enter when you are done.

When you finish typing, press Enter – or just click somewhere else – to save the new name.

File renaming completed.

Use of two simple clicks

Launch File Explorer by pressing Windows + E and navigate to a directory containing a file or folder to rename.

Open File Explorer in the directory containing the file or folder you want to rename.

Select the file with a single click, pause for a second, then click once more.

Type the new name and press the Enter key when you are finished.

When the name is highlighted, type a new name and press Enter to save the changes.

The file name has changed!

Using the context menu

To rename a file from the context menu, right-click a folder, then click “Rename” in the context menu that appears.

With the name of the folder highlighted, start typing a new name and press Enter when you’re done.

Type the new name and press Enter when you are done.

Using a keyboard shortcut

If you prefer to use a keyboard shortcut, you can use it to highlight the name of a file or folder so you can rename it without using a mouse.

Select a file or folder with the arrow keys or start typing the name. Once the file is selected, press F2 to highlight the file name.

Click once on the file, wait a second, then click the file again to highlight the name. Type a new name and press the Enter key when you are finished.

After typing a new name, press the Enter key to save the new name.

The file name has changed successfully.

Rename files and folders with the command prompt

If you feel more comfortable at the command prompt, you can use the ren command to easily rename files or folders.

File Explorer is one of the fastest ways to open a command prompt in the desired directory. First, open File Explorer and navigate to the destination. Click on the address bar and type “cmd”, then press the Enter key.

To rename a file or folder, you can use the following command. If you rename a folder, just omit the file extension:

ren “current_file_name.ext” “new_file.ext”

Although the quotation marks are not required, they are required if one of the current or new names contains a space. For example, to rename the file “Home Movies.ogv” to “First Birthday.ogv”, you would use the following command:

ren “Home Movie.ogv” “First Birthday.ogv”

Type the name change command in the command line and press Enter to execute the command.

Rename files and folders with PowerShell

Windows PowerShell is even more powerful and flexible than the command prompt when it comes to renaming files and folders in a command line environment. While we only scratch the surface of naming your files, you can do some really powerful things, including hooking up cmdlets replace batch characters in a file name.

The fastest way to open a PowerShell window in the desired location is to first open the folder in File Explorer. Once there, click File> Open Windows PowerShell, then click “Open Windows PowerShell”.

RELATED: 9 Ways to Open PowerShell in Windows 10

Open Windows PowerShell> Open Windows PowerShell to open Windows PowerShell.” width=”650″ height=”371″ onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/>

Let’s first see how to rename a single file. To do this, you would use the following syntax:

Rename the element “current_file_name.ext” “new_file_name.ext”

So, for example, to rename a file from “SampleVideo.mp4” to “My Video.mp4”, you would use the following cmdlet:

Rename the element “SampleVideo.mp4” “My Video.mp4”

Type the cmdlet in the PwoerShell window and press Enter to run the command.

PowerShell is not just a shell. It’s a powerful scripting environment that you can use to create complex scripts to manage Windows systems much easier than you could with the command prompt. If you want to learn how to use PowerShell cmdlets, we’ve gathered a list of the best to get you started.

RELATED: 5 cmdlets to help you get started with PowerShell

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.