A shortcut would not work since all synced files have a %userprofile% in the link which makes a shortcut different for everyone.įor ease of collaboration they use folders like e.g. Since all our users use the onedrive sync client they want some way to easily refer to a file stored locally. It would be nice if MS would have a statement somewhere about how long it is allowed to be. 221 characters and the file will not open anymore. Replacing all the spaces with "%20" I get a path length of 220 as a limit. Using a document stored in a folder with a very long name I started adding spaces until it would not open anymore. Maybe then the path length issue will get some JaebĪfter reading your comment I started trying to find the pathlength again to get an idea about the actual allowed path length. Personally I'm kind of hoping this issue trickles into the semi-annual channel and breaks collaborative editing for a lot of people. They're almost impossible to explain to regular users. Path length issues like this are the biggest problem we have with Office 365 / OneDrive. To me it feels like an unintended bug since, as you pointed out, it's possible to open the file by jumping through Word Online's "Open in Desktop Client" link. This change makes collaborative editing unusable in those cases.
I've set up accounts where the company name ends up being set to initials (ex: RGS) to save a few characters on the unchangeable OneDrive directory name on local PCs. That uses 115 characters before anyone creates a directory structure or adds any files. personal/rumpelstiltskin_rumpelstiltskinsgoldspinners_com/Documents/ For example, "Rumpelstiltskin's Gold Spinners Inc." could look like: That example may not look like a big difference, but, for us, we have some customers with long company names which usually means a long domain name and domainGUID. personal/username_domainname_tld/Document/-%20%20.docx?web=1 For example, the file:Ĭ:\Users\username\OneDrive - Company Name\. The spaces get encoded into %20 when opening the collaborative editing URL, so a filename with 60-80 spaces should be enough to trip the limit. I found it easiest to test if it's a path length issue by creating files with a lot of spaces in the names. These instructions are good if you're testing on a single machine. As of today, this is Word version 1902 for me.
Onedrive excel files open blank Pc#
DOES WORK when I open it on another pc in the exact same location (shared one drive folder) although I understand that in "c:\users\\\\." the part is shorter in my case.BUT gives me an error saying "the document name or path is invalid (20190731XX%20MeetingMinutes%20test.docx)" Does NOT work when I first open word and then navigate to it by open file dialog.DOES WORK when I put the file one directory higher (shorter path).DOES WORK when I go to the file with onedrive online and choose open in word (the desktop app).DOES WORK when I pause the onedrive sync client.Start word in safe mode and with the /a mode ->does not work.Tried repair word both quick and online option.-> Still does not work.When going into the folder via file explorer and checking the path length (including filename): 200 chars.When opening a word file which is in a onedrive folder (which is shared with her and which is synced with the onedrive tool) word will hang indefinite untill I close it again.