How to fix Error 0x80010135 “Path too long”
If suddenly your PC shows Error 0x80010135 “Path too long”, don’t get panic attacked. It is easy to resolve the error that can appear due to files with long path names. Just rename the file to a short name or enable long file path support on your computer, this should fix the problem.
This error mainly occurs due to files with long names or paths within an archive. The Win32 API on Windows only supports 260 characters for the file path. So you may not be able to delete or copy such files. There may also be other causes for this error. The main reasons for this problem include:
Since the error comes from files with long filenames in the archive or target location, the abbreviation should work. You can manually rename files with shorter names or enable long path support on your PC.
Extracting files to the root directory adds fewer characters to the file path. Then, you may be able to extract the content there. Copy the files to the archive in the root folder C: , D: or whatever you prefer. You can also copy the archive to the root folder and extract its files.
If the file names are too long, you can shorten the file path by renaming the archive. If possible, we recommend that you first open the archive file and locate directories with long names. Rename them shorter and try to extract the archive contents again. If you can’t rename the subfolders, rename the archive directory to a shorter name.
You can also open folders with long filenames in the archive and extract them to just one directory. Then you can organize them similarly based on the original archive by creating folders and moving subfolders within them. Make sure you use short names for the new folders.
Read also: BAD SYSTEM CONFIG INFO error, how to fix
Long path support is disabled by default in Windows. You can enable it using the registry editor. The required registry entry is the LongPathsEnabled key. Follow the steps below to access and edit it:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem
You can also use elevated PowerShell to perform this method. Follow these instructions:
New-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetControlFileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD –Force
There is also an option in the Local Group Policy Editor that handles support for long file paths. To locate and enable this policy, follow these directions: Press Windows key + R and enter gpedit.msc to open theLocal Group Policy Editor.
Also Read: How To Open Command Prompt
You can use the xcopy or robocopy commands to copy the zip content to the destination. Follow the instructions below to do this:
xcopy “source file path” “destination path” /O /X /E /H /K
and hit enter. The “ path to the source file ” and the “ destination path ” they are simply placeholders. Replace them with the path to the source file and the path to the destination file respectively.robocopy “source file path” “destination path” /E /copyall
There are many malware and insidious programs that can damage archived files. Your computer must be well protected to avoid such a problem. We recommend that you use good antivirus programs and leave the real-time protection settings turned on. You should try to scan your computer if you encounter this error. We also recommend that you enable cloud-based protection for your defender or antivirus programs for greater efficiency.
Also Read: 4 Ways To Scan For Viruses Without Buying Antivirus Software
Sometimes system file corruption can cause this problem. One possible solution for this is to use SFC and DISM. System File Checker and Deployment Image Servicing and Management tools can check and restore missing and damaged system files. Even without this error, running both processes is still a good idea. Follow the instructions below:
dism /online /cleanup-image /restorehealth
sfc /scannow
Updating the operating system helps fix bugs and introduce new features to your PC. Enabling the automatic update feature can help circumvent any system problems. Installing system updates is generally a good idea if system errors occur. For this, follow the instructions below:
Mining on RTX 3070. Overclocking, tuning, profitability, consumption: If you are interested in finding more…
Mining with GTX 1660, 1660 Ti, 1660 Super. Overclocking, settings, consumption, profitability, comparisons - If…
Mining with RTX 2070 and 2070 Super. Overclocking, profitability, consumption, comparison What the RTX 2070…
Mining with RTX 3060, 3060 Ti. Limitations, overclocking, settings, consumption, profitability, comparison Let's look at…
Alphacool Eisblock Aurora Acryl GPX-A (2022) with Sapphire Radeon RX 6950 XT Nitro+ Pure in…
In the ever-evolving landscape of business strategy, Bitcoin has emerged as a pivotal asset. With…
This website uses cookies.