

“Cannot delete file or folder The file name you specified is not valid or too long.“Error cannot delete file: cannot read from source file or disk”.When this thing occurs, the folder containing files with long paths cannot be deleted anymore, consuming disk space and generating errors if you try to move or copy it manually. Long Path Eraser automatically deletes the folder you selected, including all its files and subfolders, regardless of their path length (even if they are in a network folder).ĭownload Long Path Eraser Free 1.2 (updated )Īs said above, it can happen that a copy operation creates paths longer than the maximum value you can handle manually by the Windows Explorer ( ). Long Path Eraser (LPE) is a free tool that allows deleting files and folders with too long paths, that you cannot delete manually.

Practically, that folder cannot be deleted anymore. So thank you for the code above (glenthas - is that just a vb script (.Copying and synchronizing files and folders with Iperius Backup or any other backup software, sometimes it might happen the destination path of the files becomes too long to be handled by Windows (in fact, the maximum path length allowed by Windows Explorer is 255/260 characters). When a folder contains files with a path that exceeds the maximum path allowed by Windows, there could be errors in copying or deleting those files. Whatever the cause, i just know that long file names don't work - View image here:. is that still an indication that Windows can't handle it? once i truncated it a bit and re-ran xcopy, it went through fine.

i'd poke around the last folder that was copied and sure enough, i'd find something with a rediculously long path.

Has no one else experienced this? i'm not sure what this means ( in know DOS is only emulated in windows), but i was using xcopy (xcopy Z:\*.* /s/e/c/i/h/r/y) to transfer my archive to a new NAS and the script would crash on long file names. We are using NTFS (what comps are still using FAT32? - View image here: -Īnd there have always been problems with people not beign able to open files, save files, or move/copy files with path lengths that approach the 250 limit (i'm usually seeing it with word files, but haven't exhausted other file types).
