Table of Contents
During the process of extracting How to Fix “Zip File Error 0x80010135: Path Too Long” issue, We encountered an error that stated, “Error 0x80010135 path too long.” According to what I discovered, Windows is unable to accept file paths that are longer than 260 characters. We do not have any control over the files that are contained within the ZIP file at this time because they have not yet been extracted.
As a result, we are unable to rename these files in order to get rid of the error 0x80010135. However, We are able to provide you with a simple solution that will immediately correct this error. In the event that you ever come across an error while working with an archive that states that the path is too long, there is no need for you to become overly concerned.
Finding a solution to the error that may occur as a result of files with lengthy path names is not difficult. You should be able to resolve the issue by either renaming the archive to a shorter name or enabling your computer to support long file paths. We mentioned below are the simple ways how to Fix “Zip File Error 0x80010135: Path Too Long” issue.
Causes of the “Zip File Error 0x80010135: Path Too Long” issue
- File Path Length: Windows imposes a maximum limit on the length of file paths, typically set at 260 characters. This includes the entire path from the root directory to the file itself. When attempting to zip or unzip files with paths longer than this limit, the error occurs.
- Nested Folders: Deeply nested folder structures contribute to longer file paths. Each additional subfolder adds to the overall length of the file path, potentially surpassing the maximum allowable limit.
- Filename Length: In addition to the length of the file path, the length of individual filenames within the path also contributes to the overall path length. Longer filenames can exacerbate the issue, especially when combined with nested folder structures.
- Operating System Limitations: The “Path Too Long” error is primarily a limitation of the Windows operating system. Other operating systems may have different constraints regarding file path lengths, but Windows users commonly encounter this issue.
- Third-Party Tools: Although less common, some third-party file archiving or compression tools may also impose their own limitations on file path lengths, leading to similar errors.
How to Fix “Zip File Error 0x80010135: Path Too Long” issue
Enable Long Path Support in Windows
- Press the Windows key + R to open the Run dialog box.
- Type regedit and press Enter to open the Registry Editor.
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- Find the LongPathsEnabled entry and double-click it.
- Set the value data to 1 and click OK.
- Restart your computer to apply the changes.
Utilize Command Prompt for Extraction
- Press the Windows key + X and select Command Prompt (Admin).
- Navigate to the directory containing the zip file using the cd command.
- Use the expand command to extract the contents of the zip file:
expand filename.zip -F:* destination_folder
- Replace filename.zip with the name of your zip file and destination_folder with the directory where you want to extract the contents.
Identify the Problematic File
- Identify which file or files within the zip archive are causing the issue.
- Try extracting the zip file using a different file archiving tool or utility.
- Pay close attention to any error messages or notifications that indicate which file is causing the problem.
- Once you’ve identified the problematic file, take note of its location and filename.
Shorten File Paths
- Identify the problematic file.
- The most straightforward solution is to shorten its file path.
- Rename folders or files with long names to shorter ones.
- This involves reducing the overall length of the file path.
- Keep in mind the maximum path length varies depending on the operating system and file system.
Utilize Short File Names
- Utilize shorter file names for files in the zip archive.
- Long filenames can exceed maximum path length allowed by OS.
- Shortening filenames reduces overall length of file path.
- Can potentially resolve error.
Extract Files to Root Directory
- Shorten file paths and filenames.
- If issue persists, extract files to root directory of your drive.
- Extract files to root directory (e.g., C:).
Use Third-Party Tools
- Extract or create the zip file.
- Path Too Long error.
- Consider using third-party file archiving tools.
- Support for longer file paths.
- Several utilities available.
- Specialize in handling files with lengthy paths.
- Bypass the limitations imposed by the operating system.
Conclusion
Some readers have expressed their dissatisfaction with the fact that they were unable to extract a file because they received the following notification: error 0x80010135: path too long while extracting. If you want to know more information about this issue visit Microsoft Official Website.
This message is displayed when Windows Explorer or other third-party extraction tools such as WinRAR or 7-Zip are used to extract the file. Having said that, if you are experiencing difficulties with ZIP files, you might find it helpful to check out our guide on how to open WinZip files. In light of this, allow us to guide you through the most efficient method of problem investigation.
Questions and Answers
The MAX_PATH limit in Microsoft Windows is approximately 256 characters tall. You will be able to view the path and files through Windows/File Explorer if the combined length of the path and filename is greater than approximately 256 characters. However, it is possible that you will not be able to delete, move, or rename these paths or files.
Windows-based computers are able to process ZIP files in an appropriate manner if the total length of the original and destination file paths is less than 260 characters. In the event that the total number of characters exceeds the 260 character limit, Windows will be unable to open the file, and you will be presented with an error or failed event.
It is possible that the “Compress to ZIP file” option will not function properly due to the fact that the Automatic Folder Type Discovery feature is unable to correctly identify the contents of a folder. Modifying the optimisation settings of the folder could then be the solution to the problem of the Compress to ZIP file not functioning properly.