Office for Mac Issues

Print a Word File Path and File Name in the Footer on Mac

Steven ParkerSteven Parker Nov 20, 2026 868 views

Question details

Display and print the full document path and file name in a Word footer on Mac.

Print a Word File Path and File Name in the Footer on Mac
Product
Microsoft Word for Microsoft 365 for Mac
Device & OS
Mac
Scenario
The user wants the footer of a printed Word document to identify both the document's location and its file name.
Observed behavior
The footer displays only the file name rather than the complete path and file name.
Before you start

Save the document to its intended location using File > Save or File > Save As. An unsaved document may show a temporary name such as Document1 instead of a full path.

Solution 1Recommended

Add the path switch to the existing FILENAME field

Use this method if the footer already contains a file name field.

1
Open the footer

Double-click the footer area containing the file name to edit it.

2
Show field codes

Press Option+F9 to display field codes. If your Mac uses special function keys by default, you may also need to hold Fn.

3
Add the path switch

Find the FILENAME field and change it to { FILENAME \p }. Keep the existing field braces rather than typing new braces.

4
Update and check the footer

Press Option+F9 again to show the field result, then select the field and press F9 or Control-click it and choose Update Field. Open File > Print to check the footer in print preview.

Add the path switch to the existing FILENAME field
Update after moving the file: If you save the document under a new name or move it, update the field again before printing so the footer reflects its current location.
Free Microsoft Office alternative

Edit Word Documents with WPS Office for Mac

WPS Office is a free, lightweight alternative for working with Word documents. Its familiar interface and format compatibility make it easy to move existing files into WPS Writer; use Word to configure the specific FILENAME field switch described above.

Edit document footers in WPS WriterOpen and edit Microsoft Word DOC and DOCX filesUse a familiar interface for everyday document editingWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does my footer show only the file name?

The FILENAME field may not include the path switch. Show field codes with Option+F9 and add \p so the field reads { FILENAME \p }, then update it.

Why does the field show Document1 instead of a path?

The document may not have been saved yet. Choose File > Save or File > Save As, save it to the intended location, and update the field.

How do I refresh the path after moving or renaming a document?

Open the footer, select the FILENAME field, and press F9 or Control-click it and choose Update Field. Check the result in File > Print before printing.

What if Option+F9 does not show the field code on my Mac?

Try holding Fn along with Option+F9 if your keyboard uses special function keys by default. You can also check your Mac's keyboard settings for how function keys are configured.