Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell replace and rename file name

Get-ChildItem -Path "C:All" -Filter "*.pdf" | Rename-Item -NewName { $_.BaseName.Replace(".","_") + $_.Extension }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #replace #rename #file
ADD COMMENT
Topic
Name
4+6 =