A script file to open a word document and save it in My Documents folder

Hello.

I want to open a word document and save it in my documents in Windows 7 using a script file.

I know hot to open the file by a batch file but I can not save the file.

Many Thanks

July 3rd, 2013 2:29am

Try the following:

Set oWord = CreateObject("Word.Application")
oWord.Visible = True
oWord.Documents.Open "C:\Folder_a\Doc_1.docx"
oWord.ActiveDocument.SaveAs("C:\Folder_b\Doc_2.docx")
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2013 2:32am

Thanks
July 7th, 2013 3:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics