TEMPLATE

Syntax:

TEMPLATE [ switch ]

Description: Retrieves the disk file name of the template used by the current document.

Field Value: The disk file name of the template used by the current document.

Switches: One of the following general-formatting-switches: \* Caps, \* FirstCap, \* Lower, or \* Upper, and zero or one of the following field-specific-switches.

\p

Include the full file path name.

example:
TEMPLATE \* Upper
TEMPLATE \p

the results might be:

NORMAL.DOTM
C:\Templates\Normal.dotm