When making pdf from AutoCad Layout tabs it is necessary to change the filename so it is the same as drawing name, sometimes 100 files, via PowerShell I can change the end of the filename, by using
get-childitem -Path *.pdf |
rename-item -NewName {$_.name -replace "x.pdf",".pdf"}
but how to change the beginning f the filename?
Start Free Trial