Display the File Name and Path using Fields or the Quick Access Toolbar in Microsoft Word

by Avantix Learning Team | Updated October 4, 2017

Applies to: Microsoft® Word® 2010, 2013 and 2016 (Windows)

In Microsoft Word, you can display a document’s file name and path using fields or you can customize the Quick Access Toolbar and display the file path.

If you are a keyboard only user, check out our article No Mouse? Using Keyboard Only Navigation in Microsoft Office.

Recommended article: How to Export PowerPoint Handouts to Microsoft Word

If you insert the FileName field, you will need to update it if the name or the path changes.

Inserting the FileName field

To insert the FileName field and display the current document’s path:

  1. Position the cursor where you want to display the file name and path.
  2. 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.
  3. Select FileName in the Field Names list. Options appear for the field.
  4. Select a format in the Format list.
  5. To display the full path, check the Add Path to filename check box.
  6. Click OK.

Below is the Field dialog box:

Field dialog box with filename field in Microsoft Word.

Hiding Field Codes

A file name would normally appear similar to the following example:


If field codes appear instead, hide the field codes by press Alt + F9.

Updating the FileName field

If the document’s name has changed or the path, 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 Control + 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:

  1. 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.
  2. Click the arrow below Choose commands from and then select All Commands.
  3. Select Document Location in the list of commands.
  4. Click Add.
  5. 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:

Options dialog box for adding buttons to the Quick Access toolbar in Microsoft Word.

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.

Subscribe to get more articles like this one

Did you find this article helpful? If you would like to receive new articles, join our email list.

Recommended Microsoft Office courses

Microsoft Word: Intermediate / Advanced

Microsoft Excel: Intermediate / Advanced

Microsoft PowerPoint: Intermediate / Advanced

Microsoft Access: Introduction


Avantix Learning instructor-led classroom courses are held in downtown Toronto, Ontario, Canada. Contact us if you’d like to arrange custom training at your site or ours.

To request this page in an alternate format, contact us.

Copyright 2020 Avantix® Learning Inc.

You may also like

How to Format Microsoft Word Tables Using Table Styles

How to Format Microsoft Word Tables Using Table Styles

You can apply table styles to your Word tables to format them quickly and consistently. Use Word’s built-in table styles or create your own. You can modify table styles by changing borders, shading and other formats and change all the tables in your docment.

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 | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | info@avantixlearning.ca

Pin It on Pinterest

Share This