1.) PowerShell Prefix Number To File Base Names:
[ref]$i = 1; gci -file | Rename-Item -NewName {'{0}{1}' -f $i.Value++, $_}
2.) Transition to Command Prompt From Within PowerShell:
CMD
3.) Command Prompt Rename File Extensions:
ren . *.txt
Prepend an incremented number to each filename - Microsoft Forums:
https://answers.microsoft.com/en-us/w...
Keith Miller - Microsoft Forums:
https://answers.microsoft.com/en-us/p...
A quick walk through of one option for batch renaming a folder full of files with duplicate filenames and different extensions.