How to fix the error “ source path too long ” in Windows? or like delete, rename or move files with filenames too long? This article will help you to solve it.
error: “Source path too long”If your PC has files, folders with “long names” or “many levels of folders”, then can you rename, delete, or move it to a different location in Windows Explorer. Their window displays the error “ source path too long “:
the name of the source file are larger than the file system is supported. Try to place has a shorter path or before you try to rename this process with shorter names.
The error we have already described everything about the error, the reason of the error name “ source path too long “. This is because the full path of the files or folders are too long, larger than supported by Windows. Windows the full path to the files folder of 255 characters is limited (see: https://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx?f=255&MSPPError=-2147217396#maxpath).
delete, move, rename folder source file path too longToo many people, to resolve this error, but it seems quite difficult for non-professional users, for example, we may use (third party software long Unlocker, FilExile, long path tool, path Eraser tool…) or use Robocopy in Windows command line. Really no need for such complex! Software require no other 3rd. We make it easy by you my instructions below.
Like “Source path too long” error in Windows
There are 3 ways you can delete files with “Source path too long” in Windows:
– Method 1: use WinRAR or 7Zip
– Mse method 2: command-line (ROBOCOPY)
– Method 3: use 3 software (we don’t need it, and I never use it)
1) Delete , Rename or move “source path too long” this is files / folders using WINRAR or 7Zip
Delete the easiest and most convenient way to rename or move files / folders with “Source path too long” in Windows. With these tips, anyone can do it!
delete, rename or move “Source path too long” files / folders using WINRAR or 7Zip– Only open WinRAR or 7Zip (archiver software, almost all computers installed are in). I prefer using 7Zip, because he is totally free.
– In WinRAR or Browse 7Zip , , files and folders that you want to delete, rename or move it! WinRAR and 7Zip allow you limit not the full path to the files folder of 255 characters, such as Windows Explorer. By renaming the files, you can shorten the full path / folder then again with Windows Explorer or delete these files, folders directly in WinRAR or 7Zip.
Done! It’s so easy right!
Which meets above mentioned tips to fix errors “ source path too long “, but if you want to discover still your Windows based computer, or you are an expert in the handling of Windows command line then you checkout below the ROBOCOPY command may want.
2) Delete “source path too long” files / folders from the command line (ROBOCOPY)
ROBOCOPY (robust file copy for Windows) is available by default command on Windows 7 and higher. Robocopy is a Windows command to copy files from one location to another. The syntax of ROBOCOPY is simple:
Robocopy [ […]] []
The ROBOCOPY command / ME reflect the entire folder and allows us delete secure files, folders with long names (full path too long actually). Delete of files / folders with ROBOCOPY command, just type or copy / paste below in the command prompt window commands:
> MKDIR TempFolder
> ROBOCOPY TempFolder “ FullpathofFoldertoDelete ” /
Note :
– The full path of the folder that you want to delete (or the full path of the folder of that contains the files) is FullpathofFoldertoDelete to delete
– The second command mirror TempFolder is the folder (an empty folder that is created by the first command) in the target folder (the folder of that you want to delete): This means , that the folder that you want to delete is now empty!
Done.
Bonus: Add RoboDelete function in Windows context menu
If you do not want to enter commands each time, you can delete this function in Windows context menu “Source path too long” files, add / folder directly in Windows Explorer. With this “RoboDelete”-menu, you delete all files / folders regardless of whether the name is too long or not.
Add RoboDelete function in Windows context menu– Step 1: use Notepad (or Notepad) to create a file. REG (for example robodelete.reg ) with following content:
Windows Registry Editor version 5.00 [HKEY_CLASSES_ROOTDirectoryshell ] [HKEY_CLASSES_ROOTDirectoryshell delete command] "Advanced" "=" @= ""D:robodelete.bat ' ' % 1 ""
– Step 2: use Notepad (or Notepad) to create a file. ” BAT. Save this file in D:robodelete.bat
(exact with your setting in the file robodelete.reg) . [CopyandpastefollowingcontentinyourBATfile:
mkdir c:empty Robocopy / MIR c:empty "% 1" "% 1" rmdir rmdir c:empty
– Step 3: run the file robodelete.reg to restart your computer.
Note:
You should look carefully before you are every time you delete files, folders from this menu (ROBODELETE), since these files / folders permanently deleted (not move to recycle bin) and there is no way to undo this action. You can adjust the menu to name a few, for example, “Robodelete”, “Delete Robo”, ‘Delete LongFile’…
Tutorial video: how to: delete, rename or move “Source path too long” files / folders using WINRAR or 7Zip
If you need further assistance, feel free to write a comment.
cheer!
Source: https://easytipz.com/computer-tips/source-path-too-long-how-to-delete-rename-or-move-these-files-folders-in-windows/
Find more at: Tech Cuber
Comments
Post a Comment