[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
Syntax:
FILENAME [ switch ]
Description: Retrieves the name of the current document as stored on disk.
Field Value: The name of 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: Consider the case in which the following fields are updated:
FILENAME \* Upper
FILENAME \p
the results might be:
FIELD DEMO SUITE.DOCX
E:\Std\OOXML\Fields\Field Demo Suite.docx
end example]