OneDrive BUG with file names length - "available when online" for double click only

Renato Pereira 156 Reputation points


yesterday a customer asked help because he cannot open a file inside his folders structure; if you try the 'double click' over the file shows an error, but if you first righ click and ask to 'always available offline' and after tries the double click, so,the file opens correctly.

As you can see in the picture, the path name is not too long to be claimed as an known windows limitation of 255 characters.

  • OneDrive app version 2021 build 21.170.0822.0002 (64x)
  • Dell Laptop Inspiron 3501 with Windows 10 with all updates.
  • Office 365 Account: Microsoft 365 Business Standard




Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,475 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
880 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Vasil Michev 71,211 Reputation points MVP

    The screenshot above is showing the "short" path, which concatenates folder names to 8 chars or so. The real path length might be a lot longer, so check that. Here's more detailed explanation:

    0 comments No comments

  2. Renato Pereira 156 Reputation points

    Hey MS, could the new version of OneDrive app be based on the '"short" path??

    0 comments No comments

  3. Emily Hua-MSFT 26,921 Reputation points Microsoft Vendor

    @Renato Pereira

    Does this issue occur with all files on the upper level folder of Embargos EF?

    To narrow down, could you please suggest your user backup this folder (Embargos EF), then move it to another folder with shorter path length .

    Besides, I also suggest your user rename this folder for a test.

    0 comments No comments

  4. Limitless Technology 37,751 Reputation points

    Hello Renato,

    The total characters include also the "natural" path in the drive, not the DFS Namespace. For example \Myshare may translate to c:\myshare.example\folder1\subfolder2

    I would recommend to enable the Long path support if your clients use Windows 10 Version 1607, and Later

    Best regards,

    0 comments No comments