Answer the question
In order to leave comments, you need to log in
How to bulk rename files in PowerShell?
How to bulk rename files in PowerShell.
There is:
323289402.jpg
273728399.jpg
290322-893.jpg
File_1.jpg
File_2.jpg
File_3.jpg
Answer the question
In order to leave comments, you need to log in
Get-ChildItem -Path C:\temp -File | foreach {$i=1}{$_ | Rename-Item -NewName "File_$i.jpg" ;$i++}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question