PC & Mobile

Path too long Error 0x80010135 on Windows 11/10

If while you attempt to extract a Zip file or an archive file on your Windows 11 or Windows 10 pc, you get the Interrupted Action immediate stating Error 0x80010135: Path too Long, then this publish is meant that can assist you with probably the most appropriate options you may apply to simply resolve the problem on your system.

The important causes for this concern embody:

  • File paths longer than 260 characters as a result of the Windows 32 API library doesn’t assist file paths with over 260 characters.
  • File corruption
  • Malware an infection
  • Incorrect or unsuccessful set up of software program
  • Accidental deletion of needed system file or entry

Fix Path too long Error 0x80010135

Archives are recordsdata containing one or a number of information recordsdata, which Zip, RAR, Unix Tar, and CAB archives are probably the most generally used amongst others. These kinds of recordsdata, also known as compressed folders turn out to be useful when copying and sending a number of recordsdata as a result of they supply simpler storage and portability. Archives additionally compress recordsdata, thereby enabling them to take much less house. So, in case you get the Error 0x80010135: Path too Long Interrupted Action immediate while you try to extract or unzip a Zip file or another archive file on your Windows 11/10 pc, then in no explicit order, our really useful options introduced beneath ought to show you how to resolve this concern.

  1. Use another Zip File Extraction Tool
  2. Extract the archive file to the basis folder or Extract sub-folders solely
  3. Use the Robocopy or XCopy command
  4. Enable Long Paths Support in Windows

Let’s have a look at the outline of the method because it pertains to every of the listed options.

Read: Fix Error 0x800700CE, The filename or extension is too long

Before you proceed with the options beneath, probably the most simple answer to this concern typically is to rename the archive file with a shorter title (eg 123456789_abcdefg_temp.zip to temp.zip) to scale back the file path. If potential, open the archive file first as a result of it may include a number of mother or father/youngster folders, after which find any directories with long names. If you may’t rename the sub-folders throughout the archive, you may then rename the archive listing itself to a shorter title after which attempt extracting the archive contents once more.

1] Use another Zip File Extraction Tool

7-Zip

The built-in utility in Windows can work effectively in zipping and unzipping zip recordsdata. However, in some instances, the Path too long Error 0x80010135 can happen as a result of the instrument can not deal with a specific zip format. To get round this limitation, you should utilize another third-party compression or decompression softwarel reminiscent of 7-Zip – these work effectively with most archive file codecs.

Read: Long Path Fixer Tool will repair Path Too Long errors

2] Extract the archive file to the basis folder or Extract sub-folders solely

You can extract the archive file to the basis folder by following these steps:

  • Rename the zip file to a shorter mother or father title.
  • Copy and transfer the file to the C: partition or a folder in disk C:.

This will make the pathway shorter while you extract the file to a root folder by including fewer characters to the file path. Make positive the basis folder is on C:, D:, or any you like.

  • Finally, extract the zip file within the folder within the C: partition.

You can even open the folders with long filenames within the archive and solely extract them to a listing. Once carried out, now you can manage them in response to the unique archive by creating folders and shifting the sub-folders inside them. Ensure that you simply use quick names for the brand new folder.

If you had been unsuccessful and the error in view reappears, you may attempt the following answer.

Read: The supply file title(s) are bigger than is supported by the file system

3] Use the Robocopy or XCopy command

Robocopy

Robocopy (Robust File Copy), is a command-line listing/file replication command. By default, Robocopy will solely copy a file if the supply and vacation spot have totally different time stamps or totally different file sizes. Also, Robocopy will settle for UNC pathnames together with long pathnames over 256 characters long – though Robocopy efficiently copies such recordsdata, to keep away from points reminiscent of problem accessing the recordsdata with Windows File Explorer, it is advisable to select a vacation spot folder with a shorter title than the supply folder.

To use the Robocopy command to repeat the zip contents to the vacation spot folder on your Windows 11/10 PC, do the next:

  • Press the Windows key + R to invoke the Run dialog.
  • In the Run dialog field, sort cmd after which press CTRL + SHIFT + ENTER to open Command Prompt in elevated mode.
  • In the command immediate window, copy and paste the command beneath and hit Enter:
robocopy SourceFilePath Vacation spotPath /E /copyall

Substitute the SourceFilePath and Vacation spotPath placeholders accordingly – so, your syntax ought to look one thing like this:

robocopy C:src C:dst /E /copyall

Alternatively, you may run the next command:

robocopy C:supply D:vacation spot *.zip /MIR /v /s /XX

With this syntax, the /s swap is required to stop copying any empty folder within the archive file, and the /xx swap is required to stop the deletion of older recordsdata within the vacation spot folder.

The XCopy instrument, which stands for EXtended Copy, is a well-liked command-line utility for copying large quantities of information in Windows. The command creates recordsdata with the archive attribute set, whether or not or not this attribute was set within the supply file. To use the XCopy command to repeat the zip contents to the vacation spot folder on your Windows 11/10 PC, run the next command:

xcopy SourceFilePath Vacation spotPath /O /X /E /H /Okay

Read: The file title(s) could be too long for the vacation spot folder error message

4] Enable Long Paths Support in Windows

In the Windows API (with some exceptions), the utmost size for a path is MAX_PATH, which is outlined as 260 characters. An area path is structured within the following order:

  • Drive letter
  • Colon
  • Backslash
  • Name elements separated by backslashes
  • A terminating null character

By default, long path assist is disabled in Windows. For this answer, it is advisable to allow Win32 Long Paths assist by way of Local Group Policy Editor, Registry Editor, PowerShell, or Command Prompt.

To allow Long Path Support by way of Local Group Policy Editor, comply with these steps:

Enable Long Paths Support - Loxcal Group Policy Editor

  • Press the Windows key + R to invoke the Run dialog.
  • In the Run dialog field sort gpedit.msc and hit Enter to open Group Policy Editor.
  • Inside the Local Group Policy Editor, use the left pane to navigate to the trail beneath:
Computer Configuration > Administrative Templates > System > Filesystem
  • At the placement, on the suitable pane, double-click on Enable Win32 long paths entry to edit its properties.
  • In the open coverage window, set the radio button to Enabled.
  • Click Apply > OK to save lots of the adjustments.
  • Exit the Local Group Policy Editor.
  • Restart your pc.

For Windows 11/10 Home customers, you may add the Local Group Policy Editor characteristic after which perform the directions as supplied above, or you are able to do the registry or PowerShell or Command Prompt technique beneath.

To allow Long Paths Support by way of PowerShell, comply with these steps:

  • Open Windows Terminal in elevated mode.
  • In the PowerShell console, sort or copy and paste the command beneath and hit Enter:
New-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetControlFileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD –Force
  • Exit Windows Terminal as soon as the command executes.
  • Restart PC.

To allow Long Paths Support by way of Command Prompt, comply with these steps to edit the registry by way of Command Prompt:

  • Open Command Prompt in elevated mode.
  • In the command immediate window, copy and paste the command beneath and hit Enter:
reg.exe Add "HKLMSYSTEMCurrentControlSetControlFileSystem" /V "LongPathsEnabled" /T REG_DWORD /D "1"
  • Exit CMD immediate as soon as the command executes.
  • Restart PC.

To allow Long Paths Support by way of Registry Editor, comply with these steps:

Enable Long Paths Support - Registry Editor

Since it is a registry operation, it is strongly recommended that you simply again up the registry or create a system restore level as needed precautionary measures. Once carried out, you may proceed as follows:

  • Press the Windows key + R to invoke the Run dialog.
  • In the Run dialog field, sort regedit and hit Enter to open Registry Editor.
  • Navigate or soar to the registry key path beneath:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem
  • At the placement, on the suitable pane, double-click the LongPathsEnabled key to edit its properties.
  • In the properties dialog, enter 1 within the Value information discipline.
  • Click OK or hit Enter to save lots of the change.
  • Exit Registry Editor.

Alternatively, you may routinely allow the LongPathsEnabled key within the registry. Here’s how:

  • Press Windows key + R to invoke the Run dialog.
  • In the Run dialog field, sort notepad and hit Enter to open Notepad.
  • Copy and paste the code beneath into the textual content editor.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem]"LongPathsEnabled"=dword:00000001
  • Now, click on the File possibility from the menu and choose Save As button.
  • Choose a location (ideally desktop) the place you need to save the file.
  • Enter a reputation with .reg extension (eg; EnableLongPaths.reg).
  • Choose All Files from the Save as sort drop-down record.
  • Double-click the saved .reg file to merge it.
  • If prompted, click on on Run > Yes (UAC) > Yes > OK to approve the merge.
  • You can now delete the .reg file in case you like.
  • Restart PC.

Any of those options ought to be just right for you.

Read: Source Path Too Long? Use SuperDelete to delete recordsdata with such errors

How do I bypass the trail of a file for too long?

if the trail is too long, first copy the folder to the higher ranges in File Explorer after which transfer it to your native pc. if file names are too long, first attempt to zip the recordsdata with an archive software after which copy the archive file to your native pc after which extract the contents. You can even use third-party apps.

How can I copy greater than 256 characters?

Windows has a limitation the place your entire path to a file can’t be over 255 characters. Microsoft has a command line copy program known as “Robocopy” (Robust Copy) that may copy recordsdata with out this limitation. ROBOCOPY will settle for UNC pathnames together with UNC pathnames over 256 characters long.

Also learn: TLPD is a long file pathfinder to detect recordsdata with long paths on Windows

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button