Is it possible to create a new MS Word document based on some template from a command line in such a way that it would be stored automatically into the specified file?
The command below creates a new document based on the specified template. However, this new document needs to be saved interactively from MS Word.
What I would like to happen is for a new document to be saved automatically upon creation into the specified file. So, something like the command below where
/file would be a flag that points to the required file, would be do the trick.
winword /tc:/tmp/template.dotx /file c:/tmp/new-document.docx
I could not find any command line flags for MS Word to achieve such behaviour. Perhaps this is not available or I've missed it.