How to Rename File in Windows 10


This tutorial will show you different ways to rename a file in Windows 10.

If a file is currently in use, for example by a program, Windows will not allow you to rename it.

If you rename more than one file at the same time, the new name for each folder will be new file name, new file name (1), new file name (2), etc...

Be careful to not change the file extension of a file when renaming the file. Doing so will change its file type, and break the file until the extension is changed back.


 CONTENTS:






Rename File in Windows 10 OPTION ONE Rename File in Windows 10
Rename File using Keyboard Shortcut

1. While on your desktop (Win+D) or in File Explorer (Win+E), select the file(s) you want to rename. (see screenshot below)

2. Press the F2 key.

3. Type a new name for the file(s), and press Enter or click/tap on another area.

Name:  File_name.jpg
Views: 97
Size:  33.4 KB






Rename File in Windows 10 OPTION TWO Rename File in Windows 10
Rename File from File Explorer Ribbon

1. Open File Explorer (Win+E).

2. Navigate to and select the file(s) you want to delete. (see screenshot below)

3. Click/tap on Home tab, and click/tap on the Rename button in the ribbon.

Name:  Rename_file_ribbon.jpg
Views: 95
Size:  37.1 KB

4. Type a new name for the file(s), and press Enter or click/tap on another area. (see screenshot below)

Name:  File_name.jpg
Views: 97
Size:  33.4 KB






Rename File in Windows 10 OPTION THREE Rename File in Windows 10
Rename File from Context Menu

1. Open File Explorer (Win+E).

2. Navigate to and select the file(s) you want to rename.

3. Perform the action you want to do below: (see screenshot below)

A) Right click or press and hold on the selected file(s), and either press the M key or click/tap on Rename.

OR

B) Press and hold Shift key and right click on the selected file(s), release the Shift key, and either press the M key or click/tap on Rename.

Name:  Rename_file_context_menu.jpg
Views: 90
Size:  45.1 KB

4. Type a new name for the file(s), and press Enter or click/tap on another area. (see screenshot below)

Name:  File_name.jpg
Views: 97
Size:  33.4 KB






Rename File in Windows 10 OPTION FOUR Rename File in Windows 10
Rename File from Properties

1. While on your desktop (Win+D) or in File Explorer (Win+E), navigate to the file you want to rename.

2. Right click or press and hold on the file you want to rename, and click/tap on Properties. (see screenshot below)

Name:  Rename_file_properties-1.jpg
Views: 89
Size:  44.7 KB

3. In the General tab, type a new name in the top field, and click/tap on OK. (see screenshot below)

Name:  Rename_file_properties-2.png
Views: 88
Size:  14.2 KB






Rename File in Windows 10 OPTION FIVE Rename File in Windows 10
Rename File in PowerShell

For more Rename-Item command usage details, see: Rename-Item | Microsoft Docs

1. Open PowerShell or an elevated PowerShell depending on the required rights to rename the file you want.

2. Type the command below into PowerShell, and press Enter. (see screenshot below)

Rename-Item -Path "Full path of file" -NewName "New Name" -Force

Substitute Full path of file in the command above with the actual full path of the file with file extension you want to rename.

Substitute New Name in the command above with the actual new name with file extension you want to rename the file.

For example: Rename-Item -Path "C:\Users\Brink\Desktop\File.txt" -NewName "File new name.txt" -Force


Name:  Rename_file_PowerShell.jpg
Views: 89
Size:  22.6 KB

3. When finished, you can close the Powershell window if you like.






Rename File in Windows 10 OPTION SIX Rename File in Windows 10
Rename File in Command Prompt

For more ren command usage details, see: ren | Microsoft Docs

1. Open a command prompt or an elevated command prompt depending on the required rights to rename the file you want.

2. Type the command below into the command prompt, and press Enter. (see screenshot below)

ren "Full path of file" "New Name"

Substitute Full path of folder in the command above with the actual full path of the file with file extension you want to rename.

Substitute New Name in the command above with the actual new name with file extension you want to rename the file.

For example: ren "C:\Users\Brink\Desktop\File.txt" "File new name.txt"


Name:  Rename_file_command_prompt.png
Views: 86
Size:  4.7 KB

3. When finished, you can close the command prompt window if you like.


That's it,
Shawn