Insert file name in word

Using document info

For common information, such as Author name, File name, date, or file path, follow these steps:

  1. Double-click the header or footer .

  2. Select Document Info, and choose the information you want.

    Header ribbon with Document Info highlighted

    Note: Select Document Property to select additional information, such as Title, Company, or Subject.

  3. Select Close Header and Footer or press Esc to exit.

Using field codes

If you don’t find the info you want, such as file size or who it was last saved by, you can use field codes to add a variety of document properties.

Note: If you already added a header or footer from the gallery, this procedure may replace or change the formatting of the current header or footer.

  1. Go to Insert > Header or Footer.

  2. Select Edit Header or Edit Footer.

  3. Select Quick Parts, and select Field.

    QuickParts menu with Fields highlighted

  4. In the Field names list, choose the field you want (such as FileName, Date, Author, or Title), choose the format you want in the Field properties section.

    Field selection categories and properties

  5. If a field property has addition options, choose any you like in the Field options section.

    Field code options section

  6. Select OK.

  7. Select Close Header and Footer or press Esc to exit.

Word for the web doesn’t support adding file names and other document properties to a header or footer.

Select Open in Word to open your document in the desktop version of Word if you have it and follow the steps here on the Windows tab.

Image of the Open in Desktop App command

How to Automatically Insert the Document Filename in Word

  1. Click the “Insert” tab on the Word ribbon.
  2. Click “Quick Parts” in the Text group.
  3. Click “Field” to open the Field dialog box.
  4. Click “FileName” from the “Field Names” list.
  5. Click a capitalization format in the “Format” list.

Contents

  • 1 How do I insert FileName into a Word document?
  • 2 How do I insert FileName and path in Word?
  • 3 How do I insert watermark in Word?
  • 4 How do I insert FileName in Word without extension?
  • 5 Where is the document name displayed?
  • 6 How do you automatically update File names in Word?
  • 7 How do you create a file path?
  • 8 What is document name in MS Word?
  • 9 How do you display the file location?
  • 10 How do you put a watermark in front of a Word document?
  • 11 What is watermark in MS Word?
  • 12 Why is my watermark not showing up in Word?
  • 13 How do I insert filename in Excel without extension?
  • 14 How do I save a document without an extension?
  • 15 How do I get rid of extensions in Word?
  • 16 When a File is saved in Word The file name is displayed in the?
  • 17 How do you automate a file name?
  • 18 What does a file path look like?
  • 19 What is path example?
  • 20 Does file path include filename?

How do I insert FileName into a Word document?

Insert File Name of the Document
Under Header & Footer Tools, on the Design tab, in the Insert group, click Quick Parts, and then click Field. In the Field names list, click FileName select the Format you want. In Field options put a check in the Add path to filename check box. Click OK.

How do I insert FileName and path in Word?

From the “Text” group, click [Quick Parts] > Select “Field…” Under “Field names,” select “FileName.” In the “Field properties” section, select a format. In the “Field options” section, check “Add path to filename.” The file name will now appear in the header or footer.

How do I insert watermark in Word?

On the Design tab, select Watermark.

  1. In the Insert Watermark dialog, select Text and either type your own watermark text or select one, like DRAFT, from the list. Then, customize the watermark by setting the font, layout, size, colors, and orientation.
  2. Select OK.

How do I insert FileName in Word without extension?

Insert the custom document property, FileBaseName , in your document:

  1. MS Word menu > Insert [tab] > Text [group] > Quick Parts > Field
  2. From “Field Names” choose “DocProperty”.
  3. From “Field Properties” > “Property”: Choose “FileBaseName” > OK.

Where is the document name displayed?

The title bar displays the document name, followed by the program name.

How do you automatically update File names in Word?

To enable this option follow the steps below:

  1. Click on the ‘Office’ button.
  2. Click on Word Options.
  3. Select the Advanced tab on the left-hand side.
  4. Check the option ‘update automatic links on open’ under the General section on the right-hand side.
  5. Click on Ok. Replies (2)  Question Info.

How do you create a file path?

Hold down Shift on your keyboard and right-click on the file, folder, or library for which you want a link. Then, select “Copy as path” in the contextual menu. If you’re using Windows 10, you can also select the item (file, folder, library) and click or tap on the “Copy as path” button from File Explorer’s Home tab.

What is document name in MS Word?

docx – Word document. . docm – Word macro-enabled document; same as docx, but may contain macros and scripts. .

How do you display the file location?

To view the full path of an individual file:

  1. Click the Start button and then click Computer, click to open the location of the desired file, hold down the Shift key and right-click the file.
  2. On the menu, there are two options to choose from that will allow you to either copy or view the entire file path:

How do you put a watermark in front of a Word document?

You’ll need to open the header to select the watermark.

  1. Double-click near the top of the page to open the header.
  2. Click the watermark to select it. (Try moving the cursor over the watermark until the cursor displays a four-headed arrow.)
  3. Drag the watermark where you want it on the page.

What is watermark in MS Word?

A watermark is an image or text that appears behind the main text of the document. It is usually a lighter shade than the text, so you can read the document easily. Text Watermarks are often used to categorize or to show the purpose of a document with words such as DRAFT.

Why is my watermark not showing up in Word?

However, sometimes a watermark may not be displayed. The most common reason for this is that by default watermarks are displayed in the background, behind the document’s content.The solution is to change the z-order of the watermark to a positive value to make sure it is displayed in front of the content.

How do I insert filename in Excel without extension?

Insert filename in cell without extension by Excel formula
Select a blank cell, and enter the formula =TRIM(LEFT(SUBSTITUTE(MID(CELL(“filename”,A1),FIND(“[“,CELL(“filename”,A1))+1,255),”. xl”,REPT(” “,255)),255)) into it, and press the Enter key.

How do I save a document without an extension?

To create a file without an extension with Notepad, use quotation marks. The quotation marks ensure the integrity of the file name chosen without an extension. The file is saved with a name and a file type of “file” which has no extension.

How do I get rid of extensions in Word?

To disable or remove an add-in follow these steps:

  1. Click File > Options > Add-ins.
  2. Towards the bottom of the window, where it says Manage, click the Go button.
  3. In the dialog box, select the add-ins you want to disable or remove.
  4. To disable the add-in, just uncheck the box in front of its name.

When a File is saved in Word The file name is displayed in the?

When you open a Word document, Word displays its name in the title bar.

How do you automate a file name?

Rename multiple files one at a time

  1. Open File Explorer.
  2. Browse to the folder with the files to rename.
  3. Click the View tab.
  4. Select the Details view.
  5. Select the first file in the folder.
  6. Click the Home tab.
  7. Click the Rename button.
  8. Rename the file.

What does a file path look like?

A path is either relative or absolute. An absolute path always contains the root element and the complete directory list required to locate the file. For example, /home/sally/statusReport is an absolute path.For example, joe/foo is a relative path.

What is path example?

The definition of a path is a trail, route, course or a line of movement. An example of a path is what deer follow through the forest. An example of a path is what hikers follow up a mountain. An example of a path is the direction taken by a tornado. An example of path is the vapor left behind a plane in the sky.

Does file path include filename?

Paths include the root, the filename, or both. That is, paths can be formed by adding either the root, filename, or both, to a directory.

Insert a Word Document’s File Name and Path using Fields

by Avantix Learning Team | Updated October 14, 2022

Applies to: Microsoft® Word® 2010, 2013, 2016, 2019, 2021 or 365 (Windows)

In Microsoft Word, you can insert 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 in-person classroom Word courses >

Insert a document file name and path in a Word document using the FileName field

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

  1. Position the cursor where you want to display the file name and path. You can insert the field in the document or in a header or footer.
  2. Click the Insert tab in the Ribbon and click Quick Parts in the Text group. A drop-down menu appears.
  3. Select Field. A dialog box appears.
  4. Select FileName in the Field Names list. Options appear for the field.
  5. Select a format in the Format list.
  6. To display the full path, check or select the Add Path to filename check box.
  7. Click OK.

Below is the Field dialog box:

Field dialog box in Word with filename field selected to insert the file name and path.

Hide Field Codes

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

C:UsersDavidDesktopABCCompanyProjectsARCProject.docx

If field codes appear instead, you can hide the field codes by pressing Alt + F9.

Update 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.

Add a File Path button to the Quick Access Toolbar

You can also add a button in the Quick Access Toolbar to display the file path.

To customize the Quick Access Toolbar to display the file path:

  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 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.

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.

More resources

How to Insert a Check Mark in Word (5 Ways)

How to View Word Count in Microsoft Word (4 Ways)

How to Superscipt or Subscript in Word (with Shortcuts)

How to Insert or Type an Em Dash in Word (4 Ways with Shortcuts)

10+ Great Microsoft Word Navigation Shortcuts for Moving Around Quickly in Your Documents

Related courses

Microsoft Word: Intermediate / Advanced

Microsoft Excel: Intermediate / Advanced

Microsoft PowerPoint: Intermediate / Advanced

Microsoft Access: Introduction

VIEW MORE COURSES >

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 info@avantixlearning.ca if you’d like to arrange custom instructor-led virtual classroom or onsite training on a date that’s convenient for you.

Copyright 2023 Avantix® Learning

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 info@avantixlearning.ca

Word: Insert File/Path Name into Document Footer or Header

insert filename into word document header or footer

Inserting your Word document’s file/path name into the footer or header will help you know where your document is located.

  1. Open Microsoft Word.
  2. Click the «Insert» tab.
  3. From the «Header & Footer» group, click [Header] or [Footer].
  4. From the drop-down menu, choose a Header or Footer style.
  5. Return to the «Insert» tab. 
  6. From the «Text» group, click [Quick Parts] > Select «Field…»
  7. Under «Field names,» select «FileName.»
  8. In the «Field properties» section, select a format.
  9. In the «Field options» section, check «Add path to filename.» The file name will now appear in the header or footer.

Note:
If your saved document has moved locations, you can manually update the file/path name by clicking inside the field and pressing F9. If you want Microsoft to automatically update the field, see section «Method 2: Create a Macro
to Automatically Update the Field» of the Microsoft help page. 

Keywords: header, filename, filenames, file names, path, pathname, pathnames, path names, add

Share This Post

  • Facebook

  • Twitter

  • LinkedIn

Using Word’s headers or footers for file-specific information

Word document headers and footers can be helpful for providing file- or document-specific information such as page numbers, dates, and author’s name. The header is a section of a document that appears in the top margin, while the footer appears in the bottom margin. Material placed in the header or footer will appear on each page of your document unless you choose to exempt the first page. Below, we’ll show you how to place the document’s file name, either with or without the full document path, within the header or footer of your document.

Placing a Word document’s file name and path in the header or footer

Inserting a file name and path is a simple task that can greatly benefit anyone using your document. Using the file name can help identify different versions of a document, or simply identify the electronic file name on a printed copy.

A great reason to use the file path is to ensure everyone working on a similar project knows where the file is located. For example, perhaps your department is working on a project, and you and another co-worker are tasked with modifying a document that relates to other project files. If project files are stored in the same project folder or directory, it can be helpful to include the file path, anyone with access to that directory can quickly navigate to all of the associated documents.

How to insert file name and path in your document

Navigate to the header or footer in one of two ways:

  1. Select Header or Footer from the Insert tab and choose the Edit option toward the bottom of the drop-down menu (Option 1), OR double-click in the header or footer space of the document (Option 2).
    Option 1:
    You can open the header or footer of a document by selecting Header or Footer from within the Insert tabs ribbon options.
    OR Option 2:
    You can open the Header or Footer area of a document by double-clicking within that area of a Word document. When opened, the cursor will be placed within the header or footer, and the main body will be unavailable until you close the header or footer.
  2. Use the tab key to move the cursor to the desired location within your header or footer, or use the alignment tools on the Home tab as shown below.
    The default alignment tools will move your cursor to the left, right, or center. Here, the cursor is centered within the footer using the center alignment option.
  3. In the Insert group, within the Header and Footer tab, click the Document Info button.
    screen grab with "Document Info" selected. Document Info has a drop down arrow option.
  4. Choose File Name or File Path to have the appropriate information added to the header or footer of your document.
    Microsoft Word Document Info setting will insert file name in the footer or header of documents.
    File path "W:Dept Projects|2016-08MyProjectDocument.docx" inserted into Header." In this example, "MyProjectDocument.docx" is the file name. The previous content is the file path.
  5. To exit the header or footer, select the Close Header and Footer button on the ribbon or double click the body of the document.

Bonus: As you can see from the above menu, you can also easily insert Author and other Document information using the steps above and choosing and a different option from the menu. The Field… option also provides access to different properties.

Additional Productivity Resources

  • We have more Microsoft Word tips in our Recent Posts and Categories sections. These are on the right side of your screen if viewing from a desktop.
  • To learn about upcoming classes on Word, Outlook, PowerPoint, and other Microsoft applications, please visit our Course Schedule page.
  • To schedule a custom class for any Microsoft application on your organization’s campus, please contact our Training Team.

Be sure to look through our other Software Tips for more on Microsoft Office.


Subscribe to Monthly Training Updates

Receive monthly productivity and training insights, software tips, and notices of upcoming classes!

Понравилась статья? Поделить с друзьями:
  • Information use in a sentence for each word
  • Insert excel file into excel file
  • Indesign pdf to word
  • Information symbol in word
  • Insert excel document in word document