Rename Part of File Names in Windows – How to Do It

renamewindows

How to Rename Part of a File Name from a Selection of Files in Windows?

I know about the Windows trick where you just select a group of files and upon renaming it will add a sequential number to make them all unique.

However I'm looking for a way to rename a selection of files using a search and replace or Regular Expression.

For example starting with:

  • Menu1_Off.jpg
  • Menu1_On.jpg
  • Menu2_Off.jpg
  • Menu2_On.jpg

I would like to change Menu1 to Home like:

  • Home_Off.jpg
  • Home_On.jpg

Or change the On to Hover like:

  • Menu1_Off.jpg
  • Menu1_Hover.jpg
  • Menu1_Off.jpg
  • Menu2_Hover.jpg

Best Answer

On Windows, I use the excellent (and free) ReNamer tool.

Screenshot below demonstrates how to do your example operation with 2 simple Replace rules, but you can also use Regular Expressions if you want.

enter image description here