How do I rename multiple files at once in Windows 11 and Windows 10

preview_player
Показать описание
Discover how you can rename multiple files at once in Windows without loosing its original filename.

Change Filename Using File Explorer
1) Navigate to your desired folder
2) Ctrl + A
3) F2
4) Enter a filename (Vacay)

How do I rename a file back to its original name?
Press Ctrl+Z

Change Filename Keeping Original Filename (Powershell)
1) Right-click in file explorer (white space, NOT filename).
2) Command to prefix filename.
Get-ChildItem | ForEach-Object {Rename-Item $_.FullName -NewName "Vacation-$($_.BaseName)$($_.Extension)"}
3) Command to suffix filename
Get-ChildItem | ForEach-Object {Rename-Item $_.FullName -NewName "$($_.BaseName)-Vacay_Bahamas$($_.Extension)"}

Remove Text From Filename (Powershell)
1) Right-click in file explorer (white space, NOT filename).
2) Corect spelling from "Vacay" to "Vacation"
Get-ChildItem | ForEach-Object {Rename-Item $_.FullName ($_.Name -replace "Vacay_","Vacation_")}
3) Remove "Vacation" from prefix
Get-ChildItem | ForEach-Object {Rename-Item $_.FullName ($_.Name -replace "Vacation-","")}

#tips #tipsandtricks #microsoft #windows #windows11 #windows10
Рекомендации по теме
Комментарии
Автор

Hello, would you know how to change the labels of many files? Labels are the same in these files. Thanks 😊

antoines.