FILENAME
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.
|
Include the full file path name. |
example:
FILENAME \* Upper FILENAME \p
the results might be:
FIELD DEMO SUITE.DOCX E:\Std\OOXML\Fields\Field Demo Suite.docx