logo
search
OneDrive File Issues

How to Resolve SharePoint and OneDrive Path Length Limits

Adam DavisAdam Davis Oct 9, 2026 869 views

Question details

The user is unable to perform bulk downloads from SharePoint or OneDrive because the destination path length exceeds the supported character limit.

How to Resolve SharePoint and OneDrive Path Length Limits
Product
OneDrive and SharePoint
Device & OS
not provided
Scenario
Attempting to download multiple files or deeply nested folders from OneDrive or SharePoint in bulk.
Observed behavior
The bulk download operation fails entirely because the combined character count of the drive, folders, subfolders, and file names exceeds the mandatory system limit.
Before you start

Before modifying your directory structure, identify the specific files or folders causing the error by looking for exceptionally long names or deeply nested subfolders in your cloud storage.

Solution 1Recommended

Shorten File and Folder Names

Manually reduce the character count of your file and folder names to ensure the total path length stays within Microsoft's mandatory limits.

SharePoint and OneDrive have strict limitations on how long a file path can be. By eliminating unnecessary words, dates, or special characters from your folder and file names, you can quickly resolve download failures.

1
Locate long names

Log in to your SharePoint or OneDrive account via your web browser and navigate to the directory where the bulk download failed.

2
Rename folders

Right-click on a folder with a long name, select 'Rename', and abbreviate the name. Press 'Enter' to save.

3
Rename files

Repeat the renaming process for individual files that have excessively long titles.

4
Retry download

Select the newly renamed files and folders, click 'Download' on the top menu bar, and verify if the bulk download completes successfully.

Naming Best Practices: Adopt a concise naming convention for your team's files moving forward to prevent this issue from recurring.
Free Microsoft Office alternative

Manage Your Local and Cloud Documents Seamlessly with WPS Office

While resolving Microsoft's mandatory path length limits requires manual file reorganization, managing your actual documents shouldn't be a hassle. WPS Office offers a highly compatible, lightweight alternative to Microsoft Office, allowing you to easily open, edit, and save your documents regardless of your local directory structure.

  1. 1. Download and Install: Visit the official WPS website, download the free installer, and follow the on-screen instructions to set up the software.
  2. 2. Open Your Files: Launch WPS Office, click 'Open', and navigate to your downloaded SharePoint or OneDrive files.
  3. 3. Edit and Save: Edit your documents with full formatting support and save them directly to your preferred local or cloud destination.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation with exceptionally fast startup timesBuilt-in file management tools to easily navigate local and cloud directoriesFree to use with a familiar, user-friendly interface requiring no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

What is the exact path length limit for OneDrive and SharePoint?

The entire decoded file path, including the drive letter, folder names, and the file name, cannot exceed 400 characters for OneDrive and SharePoint. However, older versions of Windows natively restrict paths to 260 characters, which can also trigger errors upon downloading.

Why do bulk downloads fail while downloading a single file works?

When you perform a bulk download, OneDrive zips the selected files and retains their complete folder structure. If the combined path of the newly extracted folder structure exceeds your operating system's limit, the operation fails. Single files bypass this complex folder nesting.

Can I disable the 260-character path limit in Windows to fix this?

Yes, on Windows 10 and 11, you can enable 'Long Paths' via the Registry Editor or Group Policy. While this resolves local saving issues for paths over 260 characters, it does not bypass the mandatory 400-character limitation enforced by the SharePoint and OneDrive cloud platforms.