Limits on Path Length in Word

by Allen Wyatt
(last updated September 2, 2017)

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, and 2016.

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

Inserting a Cross-Reference to the First Style on a Page

A common way to set up a header is to have it refer to the first occurrence of a heading on the page. (Think how the headers ...

Discover More

Chopped Off Page Borders

Tired of your page borders not printing out as you expect? The problem could be due to any number of settings or conditions. ...

Discover More

Saving a Preview with Your Template

Templates provide a collection of styles and boilerplate for new documents. Selecting the right template by filename only may ...

Discover More

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

More WordTips (ribbon)

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

Discover More

Determining the Length of a Non-Document Text File

If you use a macro to create and work with text files, you can find out the length of those files using a simple command. ...

Discover More

Saving Your Work Automatically

Word can be configured to save your work periodically, on any time schedule you desire. This tip explains this feature and ...

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}] 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 7 + 6?

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.

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