How to Add File Name, Path, and Date to Word Footers Automatically
Question details
The user wants to configure Microsoft Word so that every new document automatically includes the file name, document path, page number, and creation date in its footer.

- Product
- Microsoft Word
- Device & OS
- Mac
- Scenario
- Setting up a default document template to include specific automated information in the footer for tracking and organization.
- Observed behavior
- Instead of manually typing this information for each file, the goal is to have Word automatically generate these details in the footer of every new document based on a template.
Ensure you have saved and backed up any open documents before modifying your default Word template, as changes to Normal.dotm will affect all new blank documents created moving forward.
Edit the Normal.dotm Template on Mac
Modify the default Normal.dotm template to insert automated fields into the footer for all new documents.
The Normal.dotm file is the underlying template that Word uses whenever you create a new blank document. Adding the required fields to this template ensures they appear automatically in any new file you start.
Open Finder on your Mac, press Command+Shift+G, and paste the path: ~/Library/Group Containers/UBF8T346G9.Office/User Content/Templates. Locate the Normal.dotm file.
Double-click or drag the Normal.dotm file into Microsoft Word to open it. Ensure you are editing the template itself, not a new document based on it.
Navigate to the top menu, click on 'View', and then select 'Header and Footer' to open the editable footer area at the bottom of the page.
Go to the Insert menu and locate Document Elements or Fields. Insert the 'FileName' field (ensuring you select the option to include the file path), the 'Page' field, and the 'CreateDate' field into the footer.
Save the changes to the Normal.dotm template and close it. Open Word and create a new blank document to verify that the footer automatically displays the fields.
Easily Add File Names, Paths, and Dates to Footers in WPS Writer
WPS Writer offers an intuitive way to manage headers, footers, and templates. You can easily insert document fields like file names, paths, and dates, and save your document as a custom template for future use.
- 1. Open WPS Writer: Launch WPS Office and open a new blank document in WPS Writer.
- 2. Insert Header and Footer: Go to the 'Insert' tab and click on 'Header and Footer' to activate the footer editing area at the bottom of the page.
- 3. Insert Document Fields: Click on 'Fields' in the Header and Footer tab. Select 'Document Information' to insert 'File Name' (including path), 'Date', and 'Page Number' directly into the footer.
- 4. Save as Default Template: Go to Menu > Save As, choose 'WPS Writer Template (*.wpt)', and replace your default template to apply these settings to future documents automatically.

Frequently Asked Questions
Why isn't the file path updating when I move my Word document?
Field codes in Word do not always update automatically. To refresh the file path in the footer after moving a file, right-click the file name or path field in the footer and select 'Update Field', or select all the text and press F9.
Can I apply this footer to an existing Word document?
Editing the Normal.dotm template only affects newly created documents. To add these details to an existing document, you must manually open its footer and insert the FileName, Page, and CreateDate fields.
How do I add just the file name without the document path?
When inserting the 'FileName' field from the Fields menu, simply leave the 'Add path to filename' checkbox unchecked before confirming your selection.




