When extracting a zipped file on Windows 10/11, a lot of people receive the “error 0x80010135: path too long” message. What causes the error? How to get rid of error 0x80010135? Let’s explore the answers together with MiniTool.

Many users have reported encountering this error message: “error 0x80010135: path too long” when extracting compressed ZIP files, copying folders, or managing deeply nested project files.

Here is a true example from the answersmicrosoft.com forum:

When extracting files Error message as below: Error 0x80010135: Path too long. What can I do to fix the error? Please help me.https://answers.microsoft.com/en-us/windows/forum/all/error-0x80010135-path-too-long

error 0x80010135 path too long

This error primarily occurs because WinZip and Windows Explorer do not support file directories with filenames longer than 260 characters. Therefore, once the character limit is exceeded, error code 0x80010135 occurs.

Additionally, incomplete or inaccurate software installations may result in invalid entries, triggering the path too long error. However, other significant factors, such as accidental deletion, incorrect system shutdown, and malware attacks, can also cause this error.

This error halts basic file operations abruptly. Are you bothered by this error? Please keep reading to know the solutions.

Application No Qt Platform Plugin Could Be Initialized? [Fixed]
Application No Qt Platform Plugin Could Be Initialized? [Fixed]

This application failed to start no Qt platform plugin could be initialized? Now, you come to the right place. This post summarizes several effective fixes.

Read More

Method 1. Reduce the ZIP File Name

The simplest way to resolve the error is to reduce the length of the ZIP file name. Here are the steps:

  1. Open File Explorer and go to the current directory containing the target file.
  2. Right-click the file and select Rename.
  3. Enter a short filename title.

Method 2. Extract the File to the Root Directory

Move the compressed ZIP file or target folder to a root directory (e.g., C:\ or D:\) instead of a subfolder. Root directories have the shortest possible base paths.

  1. Rename the file to a minimized version; this will help minimize the filename size in the parent directory.
  2. Copy the file and move it to drive C. This step is to extract the file to the root directory, reducing the path size.
  3. You will not encounter any problems when extracting the ZIP file to the new location.

Method 3. Enable the Long Path Support in Registry Editor

There is a way to break through the Windows 260-character limit. If your file path exceeds the limit, follow the guide below to enable the long path support in Registry Editor.

Step 1. Press the Win + R keys to open the Run dialog box, and then type regedit in the box and hit Enter.

run regedit in the Run box

Step 2. In the Registry Editor window, go to the following path via the left navigation bar.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem

Step 3. With the FileSystem entry selected in the left panel, scroll down the list of DWORDs, right-click the LongPathsEnabled DWORD and select Modified.

Step 4. Change the Value data of the DWORD from 0 to 1 and click on OK to save the change.

change LongPathsEnabled value data to 1

Step 5. Close the Registry Editor and restart your computer to see if the path too long error unzip message persists.

In addition, long path support can also be enabled through the Local Group Policy Editor. Follow these steps:

  1. Press Win + R, type msc, and hit Enter.
  2. Go to Computer Configuration > Administrative Templates > System > Filesystem.
  3. Double-click Enable Win32 long paths, set it to Enabled, and click Apply > OK.
  4. Exit Local Group Policy Editor. Then restart your PC.

Method 4. Use an Alternative Zip File Extraction Tool

Usually, Windows built-in unzip tool can help you extract files without issues. However, sometimes, you may encounter various errors like “the compressed zipped folder is invalid”, “error 42125 zip archive is corrupted” and “error path too long0x80010135”. This might be because the Windows tool cannot handle some particular zip formats.

Some users from the answesmicrosoft.com forum reported that using 7-zip can get rid of the error. Here you may try using an alternative file extraction tool like 7-zip or WinRAR.

a user report from the Microsoft

Besides, several tools can help you manage long file paths:

  • TeraCopy: A file copying tool that supports long paths.
  • Long path tools: Tools specifically designed for handling long filenames.

Method 5. Use Command Prompt to Copy or Move the File

You can use Command Prompt to bypass the Windows Explorer limitations. Here is the guide:

Step 1. Type cmd in the Run box and press Enter.

Step 2. Use the xcopy or robocopy command and press Enter:

  • xcopy “C:\source\very_long_path” “C:\destination” /E /I
  • robocopy “C:\source” “C:\destination” /E /COPYALL /R:1 /W:1

Method 6. Redownload the Zipped File

As mentioned above, the “error path too long” message can appear due to incorrect or unsuccessful installation of the software. In this case, we recommend you re-download the zipped file/folder from a trusted source and extract it to see if the error still occurs.

Classic Shell Needs to Configure Itself for the New OS? [Fixed]
Classic Shell Needs to Configure Itself for the New OS? [Fixed]

What is Classic Shell? How to fix the “Classic Shell needs to configure itself for the new operating system” error? Now, get the answers from this post.

Read More

Bottom Line

Error 0x80010135: path too long is a solvable issue. This post offers 6 methods to solve it. If your files are lost accidentally, you can get them back using MiniTool Partition Wizard.

  • linkedin
  • reddit