To test one of these scripts, copy the Test.dot template to the same folder as the script (you can also
copy any Word template, and rename it “Test.dot.”) Right-click the CopyTemplateUser.vbs file in
an Explorer window and select “Microsoft (r) Windows Based Script Host” from the Open With
menu, as shown in Figure 17.12.FIGURE 17.12
Running a WSH script.If you have not commented out this message box, you will first see a message listing the template
name and current path (Figure 17.13).FIGURE 17.13
A message box listing the template name and path for copying a Word template.Next, if the copy is successful, you will get the message (the path may be different on your system)
shown in Figure 17.14.Part III Adding More Functionality to Office