The target path is too long.
Ten flawless files, an intact archive, and still useless at the recipient's end. Tips & Tricks, episode 1: one mistake, three fixes.
Not every lesson carries a whole article. Many fit into three paragraphs: what happened, how to spot it, what to do instead. Under “Tips & Tricks” we collect such pointers from our own work, one at a time. We start with a mistake that only showed up at the recipient's end.
What happened
Documents were put together for an external adviser: ten PDF files, cleanly and descriptively named, in one folder, packed as a ZIP archive. The check before sending found no error, every file opened, the archive was intact.
The reply came anyway: the archive could not be extracted. The cause lay not in the data but in the packaging. By default, Windows limits the length of a path to 260 characters, counted from the drive letter to the last character of the file name. The folder the recipient extracts into, plus our subfolder in the archive, plus the long file names added up to more.
How to spot it
- Everything works on your side, but not at the recipient's end.
- The archive cannot be extracted, or individual files cannot be opened or renamed.
- The archive contains long, descriptive file names inside subfolders.
What to do instead
- Pack flat. No subfolder in the archive; the archive itself carries the name.
- Shorten file names to subject and period. A short table of contents in the archive maps each short name to its full title.
- Measure before sending, don't guess. No path in the archive longer than 80 characters. That leaves the recipient enough room for their own folder. Counting the longest entry in the archive is enough.
A delivery is only done once it works for the recipient.
Workshop rule
Sources
- What are the file path length limits?, Microsoft Support, accessed 26 November 2026.
- Maximum Path Length Limitation, Microsoft Learn, accessed 26 November 2026.