

The Replace value can also contain regex variables (see examples below). If checked, the Search value will be interpreted as a regular expression (regex). You can view the original file name and renamed file name in the Preview window. Replace withĮnter text to replace the Search for value entered previously. You will see the matching items in the Preview window. The number of items you've selected will be displayed, along with search and replace values, a list of options, and a preview window displaying results of the search and replace values you've entered.Įnter text or a regular expression to find the files in your selection that contain the criteria matching your entry. Notice that the Explorer's "Undo Rename" (Ctrl+Z) command enables the ability to undo the last change.Īfter selecting files in Windows File Explorer, right-clicking and selecting PowerRename (which will appear only if enabled in PowerToys), the PowerRename window will appear.

PowerRename enables a single bulk rename. Since all of the files are uniquely named, this would have taken a long time to complete manually one-by-one. In this demo, all instances of the file name "foo" are replaced with "foobar". Undo a rename operation after it is completed.

