Display the File Name and Path using Fields or the Quick Access Toolbar in Microsoft Word
by Avantix Learning Team | Updated April 5, 2021
Applies to: Microsoft® Word® 2010, 2013, 2016 and 2016 (Windows)
In Microsoft Word, you can display a document's file name and path using fields. The path can be displayed in the body of the document or in the header or footer. You can also customize the Quick Access Toolbar and display the file path.
Recommended article: How to View Word Count in Microsoft Word (4 Ways)
Do you want to learn more about Microsoft Word? Check out our virtual classroom or live classroom Word courses >
Inserting the FileName field
To insert the FileName field and display the current document's path:
- Position the cursor where you want to display the file name and path.
- Click the Insert tab in the Ribbon and select Field from the Quick Parts drop down menu in the Text group. A dialog box appears.
- Select FileName in the Field Names list. Options appear for the field.
- Select a format in the Format list.
- To display the full path, check the Add Path to filename check box.
- Click OK.
Below is the Field dialog box:
Hiding Field Codes
A file name would normally appear similar to the following example:
If field codes appear instead, hide the field codes by pressing Alt + F9.
Updating the FileName field
If the document's name or path has changed, you'll need to update the field.
To update the field, right-click the field and select Update or click the field and press F9. You can also press Ctrl + A and then press F9 to update all fields in your document.
Adding a File Path button to the Quick Access Toolbar
You can also add a button to display the file path in the Quick Access Toolbar.
To customize the Quick Access Toolbar to display the file path:
- Click the arrow to the right of the Quick Access Toolbar (which is normally above the Ribbon by default) and choose More Commands. In the dialog box that appears, Quick Access Toolbar should be selected on the left.
- Click the arrow below Choose commands from and then select All Commands.
- Select Document Location in the list of commands.
- Click Add.
- Click OK. A document location or file path will now display in the Quick Access Toolbar.
Below is the Options dialog box where you can add buttons to the Quick Access Toolbar:
You may want to display the Quick Access Toolbar below the Ribbon by clicking on the arrow to the right of the Quick Access Toolbar and selecting Show Below the Ribbon.
This article was first published on October 4, 2017 and has been updated for clarity and content.
Did you find this article helpful? If you would like to receive new articles, join our email list.
Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 18 King Street East, Suite 1400, Toronto, Ontario, Canada (some in-person classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at firstname.lastname@example.org if you'd like to arrange custom instructor-led virtual classroom or onsite training on a date that's convenient for you.
Copyright 2022 Avantix® Learning
You may also like
You can insert or type the Beta symbol in Word documents in several ways. The Greek Beta symbol can be entered in upper case (Β) or lower case (β) using built-in commands or keyboard shortcuts (including Alt codes, AutoCorrect entries or custom shortcuts). Beta is the 2nd letter in the Greek alphabet and is comparable to the letter B.
You can find and replace formatting in Word by searching for specific formatting, such as bold or italic, and changing it to other formats. You or even search for text with specific formatting and change the text and the formats. With Find and Replace, you can search for and change both character and paragraph formatting.
You can view word count in a Microsoft Word document in several ways. Although word count is typically displayed in the Status Bar, you can view a Word Count dialog box which can be displayed using the Ribbon, the Status Bar or a keyboard shortcut. In addition to word count, you can check a document for the number of characters, lines, paragraphs and pages. Word count and other statistics are also available in Word Properties.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at email@example.com