积极答复者
Cannot Delete files and folders - Source Path Too Long

问题
-
I have seen a number of posts regarding this problem. I have tried CMDs erase, del, RD, File Shredder, cut and paste to a root folder, "file shredder" (that tries to install a number of junk programs), and "Long Path File Tool" that wants me to buy it to try. I can move the folders but never can delete the files. I get this more often on a USB drive than my hard drives.
Seriously, Microsoft needs to come up with a tool to handle this. So far, the only fix is to format the USB drive.
See the error message below.
2015年4月10日 16:33
答案
-
Hi Gregger,
did you ever try this: https://gallery.technet.microsoft.com/Delimon-Win32-Explorer-V40-bc957ab4 ?
Please let me know if you were able to remove your file using it.
Regards,
Martin- 已建议为答案 EMMmmmmmm 2015年4月13日 7:08
- 已标记为答案 Yolanda Zhu 2015年4月20日 9:19
2015年4月10日 17:20
全部回复
-
Hi Gregger,
did you ever try this: https://gallery.technet.microsoft.com/Delimon-Win32-Explorer-V40-bc957ab4 ?
Please let me know if you were able to remove your file using it.
Regards,
Martin- 已建议为答案 EMMmmmmmm 2015年4月13日 7:08
- 已标记为答案 Yolanda Zhu 2015年4月20日 9:19
2015年4月10日 17:20 -
Here's another solution:
Robocopy /MIR with an empty folder as a source:
http://www.sysadmit.com/2015/08/windows-borrar-rutas-largas.html2015年8月3日 18:28 -
Hi,
today chances are that Powershell with PSALphaFS comes up to be the best solution.
https://www.powershellgallery.com/packages/PSAlphaFS/1.0.0.0Use can install it like that:
install-module psalphafs
when done you have a cmdlet "remove-longitem", so you can easily run
remove-longitem c:\your\path\whatever
Reagrds,
Martin2017年5月6日 13:37 -
Hello Gregger404,
The Windows NTFS file name, including the path, cannot exceed 255 characters. If you need to copy or move them, use robocopy. If you need to delete, shorten the name/path below the threshold and then you can delete.
Miguel Fra
Falcon IT Services
https://www.falconitservices.com2020年7月19日 17:25