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.
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.
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!
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 MoreYour macro may need to know if a particular file exists. This is easy to figure out using the Dir command, and even ...
Discover MoreNeed to combine quite a few text documents? A macro may be the easiest way to stuff them all into a single Word document.
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments