Add the File Name and Full Path to Every Word Document Footer
Question details
Add each document's file name and full path to its footer and reuse the setup for future documents.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- The user wants a footer that displays the saved document's location on every page of new Word documents.
- Observed behavior
- A footer field should display the current file name and full path after the document is saved and the field is updated.
Decide which new documents should use the footer and whether they need different first-page, odd-page, or even-page footers. Plan to save the document before updating the field, because an unsaved document has no final file path.
Create a Word template with a file name and path field
Use a custom template to add the footer to new documents without changing Word's Normal template.
In Word, open a blank document and select Insert > Footer > Edit Footer, or double-click the footer area.
Select Insert > Quick Parts > Field, choose FileName, and select the option to add the path to the file name. Alternatively, press Ctrl+F9 to insert field braces, type FILENAME \p inside them, and update the field.
On the Header & Footer tab, check whether Different First Page or Different Odd & Even Pages is enabled. Add the field to each footer variation that needs it, and check footers in any additional sections.
Select File > Save As and choose Word Template (*.dotx). Give the template a recognizable name and save it without modifying Normal.dotm.
Create a new document from the template using File > New and your personal templates, or open the template from its saved location. Select File > Save As and choose the document's name and location.
Double-click the footer, right-click the file name field, and select Update Field. Repeat for other footer variations or sections as needed, then save the document again.

Add a document path to a footer in WPS Writer
In WPS Writer, you can enter a saved document's full path in its footer and reuse the layout as a template. Update the path text manually for each document and whenever its location changes.
- 1. Save the document: Open the document in WPS Writer and use File > Save As to choose its name and location.
- 2. Enter the path in the footer: Open the footer by double-clicking the bottom of the page or using Insert > Header and Footer. Type the full saved path, including the file name.
- 3. Check the footer layout: Review the pages and add the path to any separate first-page, odd-page, even-page, or section footers that need it.
- 4. Reuse and update the layout: Use File > Save As to save the layout as a Writer template if the template format is available. For each new document, replace the footer text with its saved path and save again.

Frequently Asked Questions
Why does the footer not show the final path in a new document?
A new document has no final file path until you save it. Use File > Save As, then right-click the footer field and select Update Field.
Will the footer appear on every page?
It normally appears throughout the section, but different first-page or odd/even footers and separate sections can have their own content. Check each footer variation and insert the field where needed.
Does the file path update automatically after Save As?
It may not update immediately. After saving to the new location, right-click the field in the footer, select Update Field, and save again.
Can I apply the template footer to existing documents?
Creating a template affects new documents made from it, not existing files automatically. Open an existing document and insert the FileName field with the path option in its footer.
Should I put the field in the Normal template?
Use a separate custom template unless you want to change the default footer globally. You can save it through File > Save As by selecting Word Template (*.dotx).




