Skip to main content

“Source path too long”: how to: delete, rename or move these files / folders in Windows

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 File Folder Source Path Too Long 2_easytipzdelete, move, rename folder source file path too long

Too 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 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 into Windows Context MenuAdd 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

Popular posts from this blog

How to: a beginner’s Guide to the Linux command line

Do you remember the command line as an outdated leftover from the past or an old-fashioned and way of interacting with a computer? Think again. In Linux it is the flexible and efficient way to perform tasks. For example, all .tmp files in a directory (and its subdirectories) are looking for and then delete a multi-stage process, when graphical user interface can be performed, but a matter of a few seconds, if from the command line is executed. How to: a beginner’s Guide to the Linux command line In this article, we discuss the basics of the Linux command line including directory navigation and search, and file/directory operations. Once you have mastered this, you can check part II of the Guide, which is to discuss a level of deeper, file metadata, permissions and timestamps. How to: a beginner’s Guide to the Linux command line Note: this feature was originally published on 19.06.2014. We have met, because it is now as relevant as it was before, if you learn the ropes of Linux. Par...

LG Gram 13 (2017) Review

Introduction, Design & Features It turns out love it used to be simply the day before today that LG had entered the PC marketplace within the United States. They’ve made really extensive development because the early-2016 advent of the Gram 14Z950 ; in a bit of over one quick 12 months, LG stepped forward just about each and every side of that quirky featherweight, and ended up with the well-balanced Gram 14 (2017) (dubbed the “14Z970”). The LG Gram 13 (“13Z970”, in LG-speak) you’re studying about on this article doesn’t have a predecessor, because it’s a brand spanking new fashion to LG’s lineup for 2017. That mentioned, this fashion isn’t radically other from the Gram 14 (2017) we simply discussed. Both notebooks are via and massive the similar on the subject of design and lines, the principle differentiator being bodily length. One trick the Gram 13 does have up its sleeve is a biometric fingerprint reader, a characteristic the Gram 14 (2017) oddly lacks. The Gram 13Z...

(Linux Command Line) Part 3 – Commands Line for File Editor in Linux(CentOS, Ubuntu)

In phase 3 of serial Linux Commands, we will be able to learn to use File Editor in Linux. There are many equipment that is helping us to edit recordsdata in Linux (textual content editor). We may even edit Linux recordsdata from our Windows by means of FTP consumer (corresponding to CuteFTP or FileZilla) or we will be able to edit Linux recordsdata immediately by means of command line (corresponding to  vi , nano , vim , gedit , emacs …). Remember that Commands in CentOS and Ubuntu are very identical, however occasionally there are variations. Editing recordsdata in Linux server from Windows by means of FTP consumer is somewhat visible and simple, however occasionally, we need to edit recordsdata immediately in Linux servers by means of Command Line. In this text, I will be able to information you the right way to edit TEXT report in Linux by means of 4 techniques: 1- Command Line the usage of VI Text Editor, 2-Command Line the usage of NANO Text Editor, 3-Comma...