{"id":2343,"date":"2017-05-31T03:21:32","date_gmt":"2017-05-31T03:21:32","guid":{"rendered":"http:\/\/www.eassos.com\/blog\/?p=2343"},"modified":"2021-05-14T03:26:43","modified_gmt":"2021-05-14T03:26:43","slug":"how-to-fix-destination-path-too-long","status":"publish","type":"post","link":"https:\/\/www.eassos.com\/blog\/how-to-fix-destination-path-too-long\/","title":{"rendered":"How to Fix &#8211; Destination Path Too Long"},"content":{"rendered":"<p>This post discusses \u201cDestination Path Too Long\u201d error which usually occurs when you attempt to copy, move or delete a file, covering symptom, causes and solutions. If you are receiving this error, try solutions below to fix the issue.<\/p>\n<h1><span style=\"color: #0000ff;\">When does the \u201cDestination path too long\u201d error occur?<\/span><\/h1>\n<p>This is a common Windows error you may have experienced at work or home. You browse to certain file and try to delete copy or move it, but you receive an error:<\/p>\n<p>\u201cDestination Path Too Long. The file names would be too long for the destination folder. You can shorten the file name and try again, or try a location that has a shorter path.\u201d<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2344 size-full\" src=\"https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/05\/Destination-path-too-long.png\" alt=\"Destination Path Too Long\" width=\"450\" height=\"278\" srcset=\"https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/05\/Destination-path-too-long.png 450w, https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/05\/Destination-path-too-long-300x185.png 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>Let\u2019s see a real case found on Microsoft Community:<\/p>\n<p>\u201c<em>I was moving several files from local disk to an USB drive by Cut &amp; Paste. I got the error message saying the file name would be too long for the destination folder on a dialog box. It provides two options: skip or cancel. What will happen if I choose skip? Are they deleted? I just don\u2019t understand why these files were created successfully initially, and yet they can\u2019t be moved due to file name or path issue. File system on both local disk and USB drive are NTFS. Do you have any workable solution for this? Thank you for any advice.<\/em>\u201d<\/p>\n<h1><span style=\"color: #0000ff;\">Reasons behind the Windows path too long issue<\/span><\/h1>\n<p>It is important to know causes of the issue before finding out solutions. Basically, there is a character limitation in naming or renaming files and path names. In Windows API, some exceptions excluded, the maximum length of a path is defined as 260 characters. The local path is made up in the following sequence: drive letter, colon, backslash, name components and an ending null character. If you move or transfer files from long path to another, the file path too long issue will appear.<\/p>\n<h1><span style=\"color: #0000ff;\">How to fix destination path too long error in Windows?<\/span><\/h1>\n<p>Solutions to this issue differ from situation to situation. Here we list the most common methods and you can try them one by one to deal with the issue.<\/p>\n<h2><span style=\"color: #808080;\">Rename the folder \/file names<\/span><\/h2>\n<p>If the problem is caused by the filename itself which is too long, you can get rid of the issue by renaming it to a shorter name. However, this solution won\u2019t help, it there are more than 256 folders in the path.<\/p>\n<h2><span style=\"color: #808080;\">Move the file to another folder manually<\/span><\/h2>\n<p>If the folder is just too long moving the file to another folder is a good solution. Please note that is the folder you move is still too long then you still cannot delete it.<\/p>\n<h2><span style=\"color: #808080;\">Delete the file\/folder with third party tool<\/span><\/h2>\n<p>If the file or folder with long path is no longer important to you, you can wipe them from hard disk and free disk space. Since Windows <a href=\"https:\/\/www.eassos.com\/blog\/solved-cant-delete-file-or-folder-in-windows\/\">cannot delete files<\/a> or folders with too long path, you can use third party software to do the job.<\/p>\n<ol>\n<li>Install and run <a href=\"https:\/\/www.eassos.com\/partitionguru-free.php\">PartitionGuru Free<\/a> on your computer. Note: Do not install the software to the partition which contains files you want to delete.<\/li>\n<li>Select files or folders whose source path is too long, right-click mouse button and select \u201cDelete Files Directly\u201d.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2010 size-full\" src=\"https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/01\/delete-file-in-use.png\" alt=\"Destination Path Too Long\" width=\"996\" height=\"751\" srcset=\"https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/01\/delete-file-in-use.png 996w, https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/01\/delete-file-in-use-300x226.png 300w, https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/01\/delete-file-in-use-768x579.png 768w, https:\/\/www.eassos.com\/blog\/wp-content\/uploads\/2017\/01\/delete-file-in-use-398x300.png 398w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><\/li>\n<li>Click \u201cDelete\u201d button when PartitionGuru asks confirmation for the operation.<\/li>\n<li>Click \u201cOK\u201d if the software prompts to dismount partition. Wait for a second and select file will be deleted successfully.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This post discusses \u201cDestination Path Too Long\u201d error which usually occurs when you attempt to copy, move or delete a file, covering symptom, causes and solutions. If you are receiving this error, try solutions below to fix the issue. When &hellip; <a href=\"https:\/\/www.eassos.com\/blog\/how-to-fix-destination-path-too-long\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[34],"tags":[614,617,615,616],"class_list":["post-2343","post","type-post","status-publish","format-gallery","hentry","category-pg","tag-destination-path-too-long","tag-file-names-would-be-too-long-for-the-destination-folder","tag-source-path-too-long","tag-windows-path-too-long","post_format-post-format-gallery"],"_links":{"self":[{"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/posts\/2343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/comments?post=2343"}],"version-history":[{"count":4,"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/posts\/2343\/revisions"}],"predecessor-version":[{"id":4833,"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/posts\/2343\/revisions\/4833"}],"wp:attachment":[{"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/media?parent=2343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/categories?post=2343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eassos.com\/blog\/wp-json\/wp\/v2\/tags?post=2343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}