Enable long file path for OneDrive for Business
My 1GB of storage part of my Office 365 Business subscription is more or less useless because I get the "File name too long" issue with most of my files.
The following request is now closed as completed but I have voted on it with OneDrive for Business in mind (and I'm sure a lot of other other users did!).
So, OneDrive for Business users, make your voice heard and vote for this!
You can now use much longer paths with OneDrive for Business and Team sites! You can read more about it here: https://techcommunity.microsoft.com/t5/SharePoint-Blog/New-support-for-and-in-SharePoint-Online-and-OneDrive-for/ba-p/60357. Thanks for the feedback!
This is probably the single largest obstacle preventing our company from completely migrating to Office 365, from current mix of Dropbox for Business + 3rd party email + Office licenses.
We have a highly structured storage repository with deep nesting. This largely works fine in Windows (7, 10), and is never an issue with Dropbox.
anything path I can use in explorer should be able on onedrive. NTFS supports some 10k characters - just get this limit off of the explorer and onedrive. Basically any other solution (on premise fileserver, NAS, google drive, dropbox) has no issues like this...
Sandy Wood commented
Add me to the mix. This is really a problem for us!
Migrating to O365 has been a huge step backwards for my company. Online storage (the main reason for us to change) is useless as I have no intention of renaming tens of thousands of files. We use the # symbol extensively in our file naming convention, which is not supported.
Not happy Microsoft...
Hurry up! My customers are waiting to get their (shared and private) files to OneDrive for business.
ANY legal windows file name should be supported. This is NOT a business ready product. Expecting users or domain administrators to rename and monitor potentially thousands of legitimate WIndows file names for length and special characters to support OneDrive's capabilities is ludicrous. File name length is not the only issue. Legal characters such as "#" break it too.
Ok, let's face it, this limitation is blocking a lot of customers. I do not want to defend Microsoft but if a product does not suit you , why you should hate , you can use another product.Furthemore, the Office 365 packages are extremely cheap , you get email/ODB/SPO/Office and many more for 15 bucks a month , come on.
Most people do not realize that this product has like hunders of functionalities and there is hardly any competitors. People hating Office 365 is like me hating my ISP because i pay 5 bucks a month for 55Mbps and i get 54.5Mbps or occasionnaly an issue. Think,Compare,Progress :)
adding my one cent :)
This is quite ridiculous.. I have stopped syncing the company data because of this issue as this does not allow a large number of our files to sync and we cannot have a partially synced business data! Please add this asap or we might have to migrate to other services..
Max Flodén commented
This works in dropbox and prevents us from migrating to onedrive. If a file path is ok on Windows (or on a Mac) Onedrive should support it. (That the mac client sucks is another big problem)
Why does dropbox, iCloud, google drive and alike work flawlessly and microsoft just can't make the same thing ?
C'mon this is not rocket science, it's a commodity.
How comes that any smart SW engineer becomes a mental as soon as he/she works for Microsoft ? They are ridiculous. 255 char length limitation..ooops I made a trip on a time machine and find myself back in the 70s...
Thanks Microsoft for the nostalgic trip into the past and for granting me 1 GB of useless ****.
I have Onedrive with my personal Office 365 subscription and I receive the same file name too long message. If Windows is happy with a folder/filename length, Onedrive should be compatible with the same folder/filename length. Microsoft builds both products.
I began to believe that Onedrive may provide a solution to my need to have files available for editing on both my computers, but it seems Onedrive does not provide a very good solution.
János Lévai commented
It's a shame!!! I have nearly 50000 files and a couple 1000 folders, I tried to migrate from dropbox, but the all sync is stopped because of the issue. Do something immediately!
This is not fixed - I have a bunch of audio files with long filenames and paths which will not sync to OneDrive.
I checked the character count including spaces for the complete path and it is 312 characters with spaces
As a result the entire folder containing these files will not sync. The whole syncing process stops. I don't want to rename or re-organise my files - there are nearly 100. I want the software to work for me and just get out of the way.
I am using this on a MacbookPro (OSX El Capitan - 10.11.6) in an international company with 4000 employees...
I fully agree with other users, this feature should be proposed.
Here's how I handle the problem in the meantime:
- Once onedrive installed (with the path name very long), I disable it right away.
- I rename the folder onedrive to name that interests me and I move it to the desired location (!!! attention, do not create a new folder, but move it because it has a unique number that will be used by the System !!!!)
- I go to the folder C:\Users\[UserName]\AppData\Local\Microsoft\OneDrive\settings\Business1 and open the file: [unique number] .ini with notepad
- On the first line I replace the path with the new path
LibraryScope = 0 bbb4ebd1e00c4f799efe0eb4c6e9cd77 5 "MySite" "ODB" 2 "OdbHost" "0" 0 0 0 1470129548 "E: \ OD" 2
(!!! Attention, do not replace anything else but the path!!!)
- I'm launch Onedrive and voila ...
Jens Skov commented
This is a deal breaker for many migrations. If the company name is quite long you will end up with C:\Users\Name of the User\OneDrive - The very long name of the company\ taking up a lot of unneeded characters making et even harder than before :-(
Now we also start using AzureAD, giving long usernames insted og initials :-(
This really needs your attention!!
Tear down that 256 letter wall!! :-)
Great you are working on it.. but would you please tell me why it's taking so damned long to work out how to change c:\user\administrator\onedrive - stupidly long folder name, to c:\a
1: Does not need to be in the user area
2: Does not need to have onedrive in it's name
3: Does not need any company name in it
4: Should be wherever "I" want the damned thing
5: Should be done in a way that allows for longer files name (just get rid of MAX_PATH as far as one drive goes)
then please work faster Microsoft as this is ridiculous. I'm cancelling my Office 365 subscription and moving back to google where things just work.
Frank B. commented
250 characters is not enough, our users are having lots of trouble syncing because of that.
Robert Woods commented
any updates on this? My users are revolting against od4b due to file path sync errors!
Hi support, I am having the same issue. Please advise if there is a work around ?