How can I use the Windows command line to change the extensions of thousands of files to *****.jpg?
*****.jpg
What worked for me is this one(cd to the folder first):
Get-ChildItem -Filter *.old | Rename-Item -NewName {[System.IO.Path]::ChangeExtension($_.Name, ".new")}