Fix Destination path too long error in Windows 10

WRITTEN BY: supportmymoto.com STAFF

Once we title folders on a Home windows system, it must be understood that sometimes, Home windows has a restrict of the variety of characters that could possibly be used for naming the file as a result of it lengthens the vacation spot path of the File Explorer. Nonetheless, even when you’ll be able to title it, it may not at all times be attainable to copy-paste it to completely different areas. In such a scenario, you’ll get the next error:

“Vacation spot Path Too Lengthy. The file names could be too lengthy for the vacation spot folder. You’ll be able to shorten the file title and check out once more, or attempt a location that has a shorter path.”Destination Path Too Long Error

Trigger

The trigger is a limitation with the Win32 API library.

Strive the next options one after the other to repair the issue:

1} Rename the guardian folder

2} Quickly rename the file or folder’s extension to .txt

3} Allow Lengthy Path Help utilizing the Registry Editor

Resolution 1] Allow Lengthy Path Help utilizing the Registry Editor

Microsoft was conscious of the issue talked about right here. The corporate didn’t instantly enhance the restrict for a cause, however made it elective for all programs operating on Home windows 10 constructed 1607 or additional.

Earlier than anything, replace your Home windows system to the newest constructed. The process to replace Home windows is talked about right here.

Thereafter, allow the choice by the next process:

1] Press Win + R to open the Run window and sort the command regedit. Press Enter to open the Registry Editor.

 

Regedit Run

 

2] Navigate to the next key within the Registry Editor:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem

 

Modify Longpathsenabled

 

 

3] Within the right-pane, double-click on (or right-click >> Modify) LongPathsEnabled.

 

4] Set the Worth knowledge to 1 and click on on OK to avoid wasting the settings.

Change Value To 1

 

5] Restart the system and verify if it helps remedy your drawback.

 

Resolution 2] Rename the guardian folder

In case you might be dealing with the problem whereas copying both one or a restricted variety of information or folders, you would possibly merely think about shortening the title of the guardian folder and that might repair the issue. Nonetheless, one may not at all times want to change the title. Much more if the variety of information and/or folders are many, the choice may not be possible.

 

Shorten Name Min

Resolution 3] Quickly rename the file or folder’s extension to .txt

Information with .txt information have the next restrict whereas transferring. Thus, briefly change the extension of the information you propose to switch to .txt. This is able to make the file unusable. Switch the file to the supposed location after which change the extension to the unique one.

In case the title doesn’t present the file extension, open the File Explorer.

Go to View >> Choices >> Change folder and search choices >> View tab. Change Folder And Search Options

 

Uncheck the field comparable to Cover extensions for identified file sorts. Click on on Apply after which OK to avoid wasting the settings.

Hide Extensions For Known File Types

 

Resolution 4] Utilizing elevated Command Immediate

Whereas a direct switch of the information may not be attainable, we might attempt the identical by a command line on elevated Command Immediate.

1] Seek for Command Immediate within the Home windows search bar. Proper-click on the choice and choose Run as administrator.

2] Kind the next command and press Enter to execute it:

xcopy *File explorer path to supply information* *File explorer path to vacation spot* /O /X /E /H /Ok

 

Xcopy

3] Confirm if the switch was profitable.

Hope it helps!

NOTE : Please do not copy - https://supportmymoto.com
See also  Simple Solutions to Fix Steam Not Enough Disk Space [2021]

Leave a Reply