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!
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 ?
minarul sk commented
Good i like this service
[Deleted User] commented
I don't understand why Microsoft releases critical features for non-paying users BEFORE they release them for paying ones. Seems like the paying users are the 2nd class citizens here.
Philip O'Reilly commented
just about to move my files from dropbox to onedrive and notice errors for long file names, and they weren't too long. Also noticed you couldn't right click to share files/folders like dropbox on mac. Switching back to dropbox as onedrive useless for my business needs
Mike Hansen commented
I have exactly the same problem. I want to sync a local NAS to OneDrive for business but the URL to the root of the drive location is 115 characters long, almost HALF the total number allowed.
The net effect is that I cannot sync move that 43,000 files (of a total of 161,000) and almost 1800 folders (of a total of 18,800).
Bottom line: OneDrive is useless to me.
So f***ing ridiculous... Excuse my french, but I still can't believe it
Mario P. commented
Has anyone of you try to use the "Easy fix" tool to help in renaming files and folders to prepare or fix the naming of items in a local folder or OneDrive for Business folder.
(Always test it out in Lab Environment to make sure you get the results needed in production)
Some people, including some MVP's say the 260 (or 250 or 255) character limit is in fact a Windows limitation. Other sources, like Wikipedia, say that the Windows kernel and NTFS allow up to 32,767 characters. I can't judge, so when I got to talk with a software developer on a party a few months ago I asked his opinion: "It's not a Windows limitation, it's a Win32 API limitation. The Win32 API is not the way to develop software in the 21rst century" Again, I'm only quoting.
What I can judge about: all Office 365 users I know only use the synchronized SharePoint and OneDrive folders in Windows Explorer. Those folders look the same as the My Documents folder or that share on a local Windows server, so they expect to have the same option for path length AND allowed characters. Between us: if the max path length wil only be 2,000 characters instead of 32,767 they will probably never notice in our lifetime...
Bill G commented
I have already brought this up with Microsoft numerous times.
OneDrive Personal even has a 450~ character filesize limit. mapped drives still have no solution for extended filesize.
Welcome to 2016 Microsoft. Leaders of Cloud technologies.