I have some file such as AAA_a001.jpg, BBB_a002.jpg, CCC_a003.jpg in Windows 7 and I\'m trying to use batch to rename these file to
AAA_a001.jpg
BBB_a002.jpg
CCC_a003.jpg
I found this solution via PowerShell :
dir | rename-item -NewName {$_.name -replace "replaceME","MyNewTxt"}
This will rename parts of all the files in the current folder.