

Below we will solve the Destination Path too Long error when copy, move, or delete using the PowerShell tool. PowerShell is known as a powerful tool used by power-users to automate and solve many windows problems. Move, Delete, Or Copy Files Or Directories Using PowerShell Use CMD again to execute the commands.įirst, you will need to move the files with long file name from the directory: ROBOCOPY c:\testetst1\testetst2\testetst3\longpath\testets.zip c:\tmp\ /MOVE /EĪfter that to delete the files from the source directory: Delete c:\testetst1\testetst2\testetst3\longpath\testets.zip /q /f For example, we will fix below the error when you try to delete long file names. You can use this windows utility to copy or move data. Check the destination if it was successful. Note! Edit xcopy *path to source files* the *path to destination* to your real file path.Īfter click Enter, the file will be transferred. Xcopy *path to source files* *path to destination* /O /X /E /H /K Execute the following command by copy and paste to command Prompt:.Open CMD by clicking start and search for cmd.The solution can solve also “Windows file name too long to copy” or “Source path too long”. Some users over the internet are reporting that using xcopy command in an elevated command prompt can solve the issue of windows destination path too long.

#Gradle solve long path tool zip file
If for example you have a zip file just rename. txt files have a higher limit while transferring. Temporarily rename the file extension to textĪccording to Microsoft.

This method is applicable when you have a few files/folders to move/delete/copy. This is not always applicable and especially if you have a lot of files that are exceeding the length limit. Execute your operation to see whether the issue goes away and if not continue with the next steps. Rename the parent folder to decrease the full path length. This is a simple way and we will start from this.
#Gradle solve long path tool how to
READ ALSO - How to remove activate windows watermark Temporary Solution: Shorten the name of the parent folder
