Hi, I am looking to to do a conversion of existing letters which are all .doc into .docm. Can this be achieved by a PowerShell script?
Thanks.
Hi, I am looking to to do a conversion of existing letters which are all .doc into .docm. Can this be achieved by a PowerShell script?
Thanks.
Hello Waqkas,
Try this:
Get-ChildItem *.doc | Rename-Item -NewName {$_.name -replace '\.doc$','.docm'}
Mike
Mike Rodrick
Edutainer, ITProTV
**if the post above has answered the question, please mark the topic as solved.
Thanks Mike, this worked perfectly.