Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Limits on Path Length in Word.

Limits on Path Length in Word

Written by Allen Wyatt (last updated May 11, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365


The name of this tip is a bit misleading, because there is no limit on the length of a file's path name in Word—the limit is in Windows. Let me explain.

Every file you save on your hard drive must have a unique name. The thing that makes the name unique is the path name that is associated with the file. Thus, the following two file names are unique when considered with their path names:

C:\myfiles\first drafts\report.docx
C:\myfiles\second drafts\report.docx

If you are a highly (overly?) organized person, you can create all sorts of folders within folders within folders to achieve an amazing level of organization. Each folder name adds to the uniqueness of a file, provides a way to organize the files, and—unfortunately—adds to the overall length of the path and file name.

All modern versions of Windows have a limit on path and file names of approximately 255 characters. This can cause problems when you try to save files in programs such as Word. For instance, let's say that you have a very deep folder structure, and the path to where you want to save your document is about 248 characters long. If you then try to save a document in that folder, and the document name is over seven characters, including the period and filename extension (either three of four characters, depending on your version of Word), then Windows generates an error and won't let you save the file.

Since this is a system-level limitation, the only solution to this problem is to rethink your folder organization. Look for ways to shorten folder names, or reduce the number of folder levels in your path. You should then be able to save your file, as desired.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (4297) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Limits on Path Length in Word.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Understanding the While...Wend Structure

One of the basic programming structures used in VBA is the While ... Wend structure. This structure helps to make the ...

Discover More

Determining Your Serial Number

The serial number assigned to your copy of Excel is valuable. It allows you to get support and is necessary for some ...

Discover More

Updating Automatically when Opening Under Macro Control

If your workbook contains links, you are normally given the opportunity to update those links when you open the workbook. ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!

More WordTips (ribbon)

Using Seek In a Macro

When processing non-document text files in a macro, you have a wide range of commands available for your use. One of ...

Discover More

Erroneous Out of Space Messages

While they are less common these days than they used to be, you still might see an error that indicates Word is out of ...

Discover More

Printing a File List

It is often helpful to have a list of all the documents in a given directory or folder. Word doesn't have a built-in way ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three less than 4?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.