Short answer: Windows and many Windows programs cannot handle a full file path longer than 260 characters, and Excel stops at 218. A path that is fine on a Mac, or on dropbox.com, can go over the limit once Windows adds C:\Users\[name]\[Team] Dropbox\ to the front. Shorten the folder or file names, or move the folder higher up in Dropbox, until the full Windows path is comfortably under the limit.
An accounting firm asked us why a staff member on a Windows laptop could not sync or open some of the firm’s Dropbox files, when everyone else in the office used Macs and had no trouble at all. The staff member had been told the file names were “too long for Windows”. When we looked at one of the affected files on a Mac, its path inside Dropbox was already 235 characters. On Windows the same file sits under the user profile and the team folder, which pushed it past the 260 character limit. Here is what we found and how to fix it.
Fixed by Rohan Colley, Senior Systems Administrator at GCIT. Written up by Elliot Munro, CISO.
Symptoms
On a Windows computer, some files in a Dropbox folder will not sync, open, copy or rename, while the same files work on a Mac or on dropbox.com. Depending on the program, you may see messages such as:
The file name(s) would be too long for the destination folder.
The file cannot be accessed by the system.
The path you entered is too long. Enter a shorter path.
Typical signs:
- Only files deep inside long folder structures are affected, for example client, year, job and document folders that each have long descriptive names.
- Dropbox shows some files as not synced on the Windows computer.
- Excel files fail before other files do, because Excel’s limit is shorter.
- Moving the file up a few folders makes it open straight away.
People search for this as “Dropbox file name too long Windows”, “Dropbox path too long”, “Dropbox can’t sync long file names” or “file path too long Dropbox Mac to Windows”.
How the path adds up on Windows
The limit applies to the whole path, from the drive letter to the end of the file name. This example shows how a path that looks reasonable inside Dropbox goes over the limit on Windows:
| Part of the path | Example | Characters |
|---|---|---|
| Windows user profile and Dropbox folder | C:\Users\JordanSmith\Example Accounting Dropbox\ |
48 |
| The path inside Dropbox, as seen on a Mac | Clients, client name, year, job, sub-folders and file name | 235 |
| Full path on Windows | Over the 260 character limit | 283 |
Affected Software
- Application: Dropbox desktop app for Windows, File Explorer, Microsoft Office (Excel has a 218 character limit) and other programs that use the standard Windows path limit
- Platform: Windows 10 and Windows 11. Macs are not affected in the same way, which is why mixed Mac and Windows teams run into this.
- Related Services: Dropbox team folders and shared folders
Cause
Windows has long had a maximum path length, called MAX_PATH, of 260 characters. It counts everything: the drive letter, every folder name, every backslash and the file name with its extension. Dropbox’s own file naming guidance says file paths should be fewer than 260 characters for this reason.
Newer versions of the Dropbox desktop app can read and write paths longer than that, but the programs you open the files with often cannot. File Explorer and Microsoft Office still work within the classic limits, and Microsoft documents that the combined path and file name for Excel must not exceed 218 characters. So a file can arrive on the computer and still be impossible to open or move.
Macs allow much longer paths, so a team that mostly uses Macs can build deep folder structures without noticing. As soon as someone on Windows syncs the same folders, the extra characters at the start of the Windows path push some files over the limit.
Resolution
Find the files that are too long
- Open the folder that contains the affected file in File Explorer.
- Click in the address bar to show the full path, then copy it and paste it into Word or any online character counter, adding the file name on the end.
- If the total is over about 250 characters, or over about 210 for Excel files, that file needs a shorter path.
Shorten the path (works for everyone)
- Agree with the team which folders to rename. Changes made on any computer or on dropbox.com sync to everyone.
- Shorten long folder names first, because one shorter folder fixes every file inside it. For example, “2025-2026 Financial Year Year End Working Papers” can become “FY26 Year End”.
- Remove repeated information. If the client name is already in a parent folder, it does not need to be in every sub-folder and file name too.
- Move very deep folders up a level or two where it makes sense.
- Wait for Dropbox to show Up to date on the Windows computer, then open the file again.
Shorten the Windows prefix (optional)
Your IT team can move the Dropbox folder to a shorter location, such as C:\Dropbox, from Dropbox Preferences > Sync > Dropbox folder location. This saves a few dozen characters on that computer, but it does not help other Windows users, so tidying the folder names is still the better long-term fix.
Important Notes
- The Windows long path setting is not a complete fix. Windows 10 and 11 have a “long paths” option that some programs can use, but File Explorer and Office do not fully support paths over the limit. Shortening the path is the reliable answer.
- Agree a naming convention. Short folder names, consistent abbreviations and fewer levels prevent the problem coming back.
- Watch for restricted characters too. Characters such as
< > : " | ? *and names ending in a full stop or space can also cause problems on Windows, according to Dropbox’s naming guidance. - The same rule applies to OneDrive and SharePoint. If you are moving from Dropbox to Microsoft 365, fix long paths before you migrate. See Fix: “File Path Is More Than 259 Characters” in OneDrive.
Related Resources
- Dropbox Help: How to name files and folders
- Microsoft Learn: Maximum path length limitation
- Microsoft Learn: Error when you open or save a file with a long path in Office
- Fix: “File Path Is More Than 259 Characters” in OneDrive
- Fix: “The File Cannot Be Accessed by the System” in Dropbox
- Fix: Dropbox Files or Folders Missing (Find and Restore Them)
- Software we support at GCIT
If your team works across Mac and Windows and Dropbox keeps tripping over long folder names, book a free consultation and we will help you plan a folder structure that works on both.