The Community is undergoing a major upgrade. Find out more, ask us questions or share your thoughts here.

Forum Discussion

Walter H.11's avatar
Walter H.11
Explorer | Level 4
5 years ago

Long path file names (greater than 260 characters)

I have a few hundred files with paths that are more than 260 characters.  However, I have Windows 10 set to enable long file paths (greater than 260 characters), and my experience is that Dropbox will properly sync files with paths greater than 260 characters.   Assuming this is the case, would there be any reason to take the time to identify files with long path names and reduce the path names to be under the traditional limit Windows limit of 260 characters?  If I do decide to reduce the file path lengths, should I do this on the Windows side or on the Dropbox side?

  • Hi Walter H.11, thanks for messaging today!

     

    If you've enabled the long file paths, then you shouldn't have any issues with syncing, so you wouldn't need to identify those files. The unlikely situation is if you install the app on a Windows machine which doesn't have the long file path fix implemented.

     

    If you do need to change the file path, the easiest method is via the Dropbox folder, since those changes will sync to the site instantly and be reflected on other devices too.

     

    Hope this helps to clarify matters!

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi Walter H.11, thanks for messaging today!

     

    If you've enabled the long file paths, then you shouldn't have any issues with syncing, so you wouldn't need to identify those files. The unlikely situation is if you install the app on a Windows machine which doesn't have the long file path fix implemented.

     

    If you do need to change the file path, the easiest method is via the Dropbox folder, since those changes will sync to the site instantly and be reflected on other devices too.

     

    Hope this helps to clarify matters!

    • maxxkayne's avatar
      maxxkayne
      Helpful | Level 5

      I have come up with 2 solutions that can help solve this issue.

       

      The first is using the subst command to create a virtual drive which points to the dropbox folder. However this only shortens it from c:\users\name\Dropbox to drive X:  for example. Using subst will make it temporary only so making a change in the registry will make it permanent.

      Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\DOS Devices

      is the location in registry.

      You would add X:                   \??\C:\Users\name\Dropbox path

      for a permanent virtual drive.

       

      The second solution does not require the virtual drive to be setup.

      It's adding an option in the context menu. When you right-click on the folder you get an option to add the folder to a favorites folder, e.g if you need to open a file deep in your folder structure, say folder 15, right-click on folder 14/15 to add to your nominated folder i.e. Favourites it will add a shortcut in the folder. Go to the new location i.e  C:\Favourites\Folder 15 and now you can access the file that you could not access before.

       

      If you require further clarification on this, reach out! be happy to help.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!