Why a zip says the path is too long
Error 0x80010135 is not a broken archive and not a wrong password. It is a 260-character limit in Windows, applied to a folder tree that you probably do not want anyway.
Written · Updated
The zip is fine. Windows File Explorer rebuilds the whole folder tree that is stored inside an archive, and it refuses any finished path longer than 260 characters: a limit from the Windows API, not from the archive, not from your disk, and not from anything you did. The same file opens without complaint on a Mac, on Linux, on a phone, and in a browser. PACK opens it in the tab, tells you which name inside it is the long one and how much room that leaves, and saves files out under their own names with no folders at all, which is the one approach where the limit cannot apply. Nothing is uploaded.
What the error actually means
Extract All fails with the file name(s) would be too long for the destination folder, or its numeric form, 0x80010135. Before reading a single byte of your files, Windows works out where each one would end up:
the folder you are extracting into + \ + the path stored inside the archive
If that total passes the limit for any entry, the whole extraction stops. It is a length check, not a damage check. Nothing has been read, nothing has been decompressed, and nothing has failed a checksum.
Why 260
MAX_PATH is a constant in the Windows API, carried forward from a time when a path lived in a fixed-size buffer and never revisited, because too much software would break. It counts everything: the drive letter, the colon, every backslash, and a terminating null character that you never see. So 259 characters are usable.
NTFS, the filesystem underneath, allows 255 characters per name and around 32,767 for a whole path. The file you are trying to extract can exist perfectly well. It is the older way of asking for it that will not.
This is also why the archive opens everywhere else. Linux allows 4,096 bytes, macOS 1,024, and neither Android nor iOS gets anywhere near either. A colleague on a Mac unzipping your file without incident is not doing anything clever.
Find out how bad it actually is
Every zip carries a directory of its own contents at the end of the file, listing each entry under the exact path it was stored with. That list is readable without decompressing anything, so the number you need is already in the file you were sent.
Open the archive in PACK. If the longest name inside it is 120 characters or more, it says which one it is, how long it is, and the subtraction that follows: 259, less one for the separator, less that length, is the longest destination folder Explorer would accept. A real example from a shared drive:
| What | Length |
|---|---|
| Longest name inside the archive | 213 |
| Windows limit, usable | 259 |
| Separator | 1 |
| Room left for a destination folder | 45 |
C:\Users\yourname\Downloads | 27 |
Forty-five characters is enough for your downloads folder and almost nothing else. It is not enough for C:\Users\firstname.surname\OneDrive - Company Name\Documents, which is where a lot of people's files actually live, and that is the whole story of the error in one line.
Four ways past it
- Rename the archive to something short. Extract All proposes a destination folder named after the zip, so a shorter name is a shorter destination. This buys you exactly the number of characters you removed: useful when you are a few over, useless when you are eighty over. It is the first suggestion everywhere and the weakest.
- Extract to the root of the drive.
C:\is three characters, which is as short as a destination can be. This is the largest single gain available without installing anything, and it caps out there: if the names inside the archive exceed 255 characters on their own, nothing you do to the destination will help. - Use an archiver that asks for paths the long way. 7-Zip and its peers use the Unicode form of the Windows file APIs, which accepts roughly 32,767 characters, so they extract the tree intact. This genuinely works. It also means installing software, which on a managed laptop is a request to somebody else rather than a decision.
- Do not recreate the folders. Open the archive and take the files out flat. Each one is saved under the last part of its name, so a 213-character path becomes one ordinary filename and there is no tree to be too long. PACK does this in the browser, on any machine, including the work laptop you cannot install anything on and the iPad where a zip attachment is otherwise a dead end.
The registry setting, and why it often does not help
Every article on this subject ends with the same instruction: enable Win32 long paths in Group Policy, or set LongPathsEnabled under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. It is real, it has been available since Windows 10 version 1607, and it is not the switch people think it is.
The setting lifts the limit only for programs that declare themselves long-path aware in their own application manifest. A program that does not declare it keeps the old behaviour no matter how the policy is set, because the compatibility promise is the entire reason the limit still exists. That is why the same advice works for one person and does nothing for the next, and why it is worth understanding before editing a registry key on a machine your employer owns.
If you have the rights and want to try it, try it. Just do not conclude from it failing that something is wrong with your computer.
The folder you now cannot delete
A failed extraction can leave part of a tree behind, and that folder's path is too long for the same reason, so File Explorer will not delete it either. Right-click, Delete, and the same refusal.
Robocopy handles long paths, and mirroring an empty folder over the stuck one empties it:
mkdir C:\empty
robocopy C:\empty C:\stuck /MIR
rmdir C:\empty
rmdir C:\stuck
Look at what is inside the target first. /MIR makes the destination match the source exactly, and the source is empty, so everything in it goes.
What to do if you are the one sending the zip
The tree inside an archive is almost always an accident of how the files sat on the sender's machine, not something the files need. Three habits remove the problem at the source:
- Add the files, not the folder. Dropping a folder into a zip tool stores every level of it. Dropping the files themselves stores names only.
- Do not nest the project name three times.
Project Review 2026\Project Review 2026 Final\Project Review 2026 Final v3\is 90 characters of the same six words, and it is remarkably common. - Check before you send. PACK lists what an archive declares, so you can see what the recipient will see. If it warns you, the recipient on Windows was going to hit the error.
One error that looks the same and is not
If File Explorer opens the archive, shows you the file names, and then fails only when you try to extract (with a wrong-password complaint, or a silently empty result), the problem is encryption rather than length. Windows reads only the 1989 zip encryption scheme, and most archivers now write the 2003 AES one. That is a different problem with a different answer.
Alongside: X-RAY tells you what a file really is when the extension is not to be trusted, and password-protecting a zip covers which scheme to choose so the person at the other end can actually open it.
Questions people ask about Why a zip says the path is too long
Is my zip file damaged?
Almost certainly not. The error is raised before anything is read from the archive's contents: Windows works out what the extracted path would be, finds it longer than it allows, and stops. The same file usually opens without complaint on macOS, Linux, Android or iOS, none of which have this limit, and it opens in PACK in any browser.
What is error 0x80010135?
The numeric form of "the file name(s) would be too long for the destination folder". Windows builds the finished path for each file (the folder you are extracting into, plus the whole folder tree stored inside the archive, plus the file's own name) and refuses when it passes 260 characters.
Why 260 characters?
MAX_PATH, a constant in the Windows API that dates from a fixed-size buffer and has been kept for compatibility ever since. It counts the drive letter, the colon, every backslash and a terminating null, so 259 characters are usable. NTFS itself allows around 32,767; the file can exist, it is the older way of asking for it that will not.
Does renaming the zip really help?
Sometimes, and only because of where Extract All puts things. It proposes a destination folder named after the archive, so a shorter archive name is a shorter destination. It buys you exactly the number of characters you removed, which on a deeply nested archive may not be enough.
Will turning on long paths in Group Policy fix it?
It may not, and it is worth knowing why before editing the registry on a work machine. The setting removes the limit only for programs that declare themselves long-path aware in their own manifest; a program that does not declare it is unaffected however the policy is set. That is why the same advice works for some people and not others.
I cannot delete the half-extracted folder now.
The folder's own path is too long for the same reason, so File Explorer will not remove it either. Make an empty folder and mirror it over the stuck one with robocopy, which does handle long paths: robocopy C:\empty C:\stuck /MIR, then delete both. Check what is inside first: mirroring an empty folder deletes everything in the target.
Does PACK have the same limit?
No, because it never recreates the folders. Saving a file writes it under the last part of its name straight into your downloads folder, so a 213-character path inside the archive becomes one ordinary filename. The trade is that two files with the same name in different folders both land in the same place, and the browser will number the second one.
Is anything uploaded?
No. The archive is read in the tab by the same zip library the page already carries, and nothing leaves the device. That is worth something here specifically: an archive you cannot open is often one somebody sent you, and what is in it is not necessarily yours to hand to a website.
Related tools
- PACKOpen a zip and take files out of it, in the tab, nothing uploaded
- Windows will not open your AES zipThe other reason File Explorer refuses an archive it can see inside
- Password-protect a zipWhich encryption to use, and what each one hides
- X-RAYWhat a file really declares about itself, whatever its extension says
- Opening a file without the software that made itMost files that will not open are a container your machine has no reader for. HEIC, .msg, winmail.dat, Word, Excel, zips and CSVs, opened in the browser tab.
- Why your .docx opens as XMLA Word file is a zip of XML, so the markup is not itself a fault. Four different problems look like this and their fixes have nothing in common, starting with whether the file is a Word document at all…
- Why your CSV opens in one columnA CSV does not record its own separator, so Excel guesses from a Windows regional setting rather than from the file.
- How to open a HEIC fileA photograph in a container most software cannot open: what the box is, what is inside it, and how to get a JPEG out without uploading it.
- Open a Word document without Word, without uploading itA .docx is a zip of XML a browser can read. Open it, change it, and save it back as Word or as PDF in the tab; what comes across, and what does not.
- Open an Excel file without Excel, without uploading itAn .xlsx is a zip of XML a browser can read in the tab. What comes across (sheets, values, formulas, formats), what does not (charts, macros, pivot tables), and how to save it back.
All 22 guides under “A file that will not open, or comes out wrong”.
A letter, now and then
An occasional letter when there is something worth reading: the new guides and what changed in the tools. Never more than once a month and nothing else, and you can leave at any time on the unsubscribe page.