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.
Convert .doc to .docm PowerShell
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
Thanks Mike, this worked perfectly.