The fully qualified file name must be less than 260 charact

The best solution for finding and removing duplicate files.
DrK
Posts: 1
Joined: Sun Aug 09, 2015 5:16 pm

The fully qualified file name must be less than 260 charact

Post by DrK »

Duplicate file cleaner pro will not delete over 300,000 files because the name is too long. The reason the name is too long is that I have back ups of backups wich creates long file names. If I didn't have multiple back ups I would have long file names but then I would not have a need for a duplicate file cleanser. Duplicate file cleaner found 2,7 TB of duplicate files but only will remove 30GB because the rest have long file names.
User avatar
therube
Posts: 634
Joined: Tue Jun 28, 2011 4:38 pm

Re: The fully qualified file name must be less than 260 char

Post by therube »

Seemed to work for me?
Are you sure it is a path length issue (& not permissions or something else)?


An easy, quick way to find long paths:
Everything Search Engine
How to search for long full paths?


(Enable &) check the log & see if that gives any clues?
(Options | More Options -> General => Log [enable])


(Sucks the way MS "handles" long paths. Wonder if anything has changed in Win10 :evilgrin:?)


From my File Manager (Altap Salamander), which also has its own "long path" issues, I opened Windows Explorer to make a copy of the (existing) files in a known (searched for) "long path directory". Funnily, some (9 of 13) of the files copied as ShortFileNames, the other four as LFN. (I'm on XP.) I didn't look at the copied directory prior to running the scan in Duplicate Cleaner, but wondered why it did not find ALL the files as duplicates (as they were, & based on my search criteria; Name), but the SFN/LFN issue blew that out of the water ;-).
Oops, I think I'm wrong (pretty sure), hold tight... Yes, I'm wrong.
No, I was right to begin with, it is working for me.

What threw me; it (can be) a PITA when dealing with these long paths, in particular knowing which are exactly long (turns out, initially, the four found/deleted were not "long" > 260), but once I changed the search to Content, ignore name, then it found the really "long" files, & successfully deleted them. BUT, when I went to look, again realized I chose the SFN files, & those happened to be < 260, so that "test" again showed nothing. So then I went back again, & copied the same directory, & ended up again with some SFN, some LFN (& at this point got to assume that the SFN were copied that way because of some, again, Windows limitation, & the LFN ones happened to copy that way, because they started off shorter then some Windows limit, ~254). So once I selected the "long" > 260 files, they still deleted as expected.

Code: Select all

DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topfreeapplications_sf=143444_limit=10_xml.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topfreeapplications_sf=143444_limit=10_xml_structured.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_toppaidapplications_sf=143441_limit=50_genre=6011_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_32523843964.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_toppaidapplications_sf=143444_limit=10_xml.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_toppaidapplications_sf=143444_limit=10_xml_structured.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=10_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DQMJ8_JEYIPM_offerid_33485236200.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=14_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_4209043944.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=15_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_2102313489.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=17_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_1826567766.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=18_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_1760919449.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=21_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_2851384542.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=24_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_o200943167.xml
DELETED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss\http___ax_itunes_apple_com_WebObjects_MZStoreServices_woa_ws_RSS_topsongs_sf=143441_limit=50_genre=7_xml_partnerId=30&LS_PARAM=http_3A__click_linksynergy_com_fs-bin_stat_3Fid_3DlqYo77chKGU_o4236057422.xml
FOLDER REMOVED: W:\DEL_ME_WHENEVER_I_WANT\123456789012345678901234567890\123456789012345678901234567890\Rss


13 file(s) have been deleted.
1 folder(s) have been removed.
(As you can see, they are LONG.)
User avatar
DigitalVolcano
Site Admin
Posts: 1864
Joined: Thu Jun 09, 2011 10:04 am

Re: The fully qualified file name must be less than 260 char

Post by DigitalVolcano »

Window's support for >260 filenames can be unpredictable. I'm pretty sure you can't delete long paths to the Recycle bin, but you may be able to delete them permanently.
Post Reply