
Microsoft word this is not a valid file name one drive windows#
The simplest solution, by far, is to save the document directly to SharePoint rather than to Windows Explorer. I have seen articles claiming that you can change the LongPathsEnabled value to 1 at HKLM\SYSTEM\CurrentControlSet\Control\FileSystem, but that hasn’t worked for me. I am aware of five possible solutions to the problem of synced SharePoint files exceeding Windows’ maximum path name length. You wont get an error Explorer just won’t save your change. If you have an existing file that was synced from SharePoint or created with a non-Office application, such as Notepad, so that it exceeds the maximum path name limit, you won’t be able to rename it unless you shorten the name to below the limit.It won’t give you an error it will just stop typing when you hit the limit.

Explorer won’t let you rename an existing file to something longer than the allowed path name length.Interestingly, Notepad and other non-Office apps that I tried will let you save a file with the same name in the same location that Office won’t. You will see this error if you try to save an Office 365 document with a name that would exceed the maximum character count. Microsoft Word (or any other Office 365 application Save As dialog box) You will see this error if a file was synced from SharePoint/Teams/OneDrive with a name that puts it over the maximum character count and you try to rename it to something that isn’t short enough to meet the path length criteria. The file name you specified is not valid or too long. You will see this error if you already have a path that is at its maximum character count and you try to create another subfolder. You can shorten the file name and try again, or try a location that has a shorter path. The file name(s) would be too long for the destination folder. Here are some of the error messages you might encounter in this scenario: I’m sure you can see why they might be hitting the maximum character counts for path names. Where a file used to be at “ G:\My really long folder name“, now it’s at “ C:\Users\John.Doe\My Organization Name\My Team Name – Private Channel – Private Channel\My really long folder name“. Instead of a finding their files behind a drive letter, they are syncing them to their local hard drives using the OneDrive desktop client. Now, having migrated almost all of my on-premises network shares up to Teams and SharePoint, users are rediscovering the value of brevity. I frequently find folders and files on share drives named with entire sentences, punctuation and all. Windows 10’s maximum path length is 260 characters, and you might think that’s plenty to accomplish whatever a person might need, but you’d be wrong. Although both Windows and SharePoint can handle longer path and file names than they used to, both are still far behind user behavior, which leans more toward encyclopedic names than the old 8.3 standard of yesteryear.
