26 March 2014

An effective way to rename files in Windows

You need to run the command below in the PowerShell. PowerShell can be thought of an imitation of command lines in *nix based operating systems.

Dir will feed all the files in a folder to rename-item command, and it replaces BEFORE to AFTER for all files in that folder.

Dir | Rename-Item –NewName { $_.name –replace “BEFORE“,”AFTER” }

http://www.howtogeek.com/111859/how-to-batch-rename-files-in-windows-4-ways-to-rename-multiple-files/

No comments:

Post a Comment