Now make sure that the *.docx file that you want to convert to a Word template (i.e., a *.dotx file) is in the same directory as your script. This way you can avoid having to include the full file path to the original document in script itself:
Now make sure that the *.docx file that you want to convert to a Word template (i.e., a *.dotx file) is in the same directory as your script. This way you can avoid having to include the full file path to the original document in script itself: