Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. 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, Word in Microsoft 365, and 2021


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, Word in Microsoft 365, and 2021. 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

Changing Label Sizes

Information formatted for one type of label may someday need to be printed on a different type of label. Here's some ...

Discover More

SUMIF Doesn't Recalc Automatically

What are you to do if you suspect that some of your worksheet functions aren't recalculating automatically? Here's some ...

Discover More

Wrapping Text around a Graphic in a Text Box

Word allows you to wrap text around a graphic or around a text box, but it won't allow you to wrap text in a text box ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Automatically Formatting an ASCII File

Import a file from a source external to Word, and you can end up with a formatting nightmare. One big step is to remove ...

Discover More

Determining If a File Exists

Your macro may need to know if a particular file exists. This is easy to figure out using the Dir command, and even ...

Discover More

Combining Documents

Need to combine quite a few text documents? A macro may be the easiest way to stuff them all into a single Word document.

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 5 - 5?

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.