r/Xprotect • • Sep 18 '26

File Path Too Long

Hey all,

I wanna preface this with the fact that I'm not a technician, but a user of Milestone Xprotect.

We're using Smart Client R3 2025 right now and encountering a very annoying problem. Milestone is refusing to accept file paths longer than 50 characters. Our current work around is to simply do a shallow export and then move the folder after the fact - but it's getting old.

I've tried to find if there's a workaround and have notified our technician, but no solution is present as of yet.

Have any of you encountered this issue? If so, were you able to fix it? If not, is this just a limitation to Milestone?

We were previously running a 2013 version and I don't recall this ever being a problem before...

3 Upvotes

5 comments sorted by

2

u/CrackerJackSauce Employee Sep 18 '26

This isn't a Smart Client issue. It is a Windows issue. By default Windows 10/11 restrict file paths to 260 characters (including names of files). When you set the export path, the Smart Client is checking to see if that path set plus the longest path within what gets exported will exceed the 260 characters. If it does, then it throws that warning.

You can enable long file path support (either via registry or Group Policy) and from my 100% unofficial testing, the Smart Client will export without the error. The longest path in my export was 420 characters.

C:\Users\Demo\Desktop\ReallyLongFolderNameForTestingAReallyLongPath\AnotherReallyLongFolderNameForTestingAReallyLongPath\AndAnotherReallyLongFolderNameForTestingAReallyLongPath\AndYetAnotherReallyReallyLongFolderNameForTestingAReallyLongPath\Export 9-18-2026 9-50-27 AM\Client Files\Data\Mediadata\0d65d259-d4ea-490c-89c5-47ed8f9d9e7f\0d65d259-d4ea-490c-89c5-47ed8f9d9e7f\7ea9b53b-749e-420b-891b-43b238f6144e\sindex0.idx

There are some potential drawbacks to enabling long file path support though. Here's a quick synopsis from AI on potential drawback.

  • Random Crashes in Legacy Applications

    • Enabling the Windows setting tells the OS to stop blocking long paths. However, if an older application isn't coded to expect strings longer than 260 characters, feeding it a 400-character path can cause a buffer overflow. This results in the app crashing instantly, freezing, or throwing vague memory access errors.
  • Silent Data and Backup Failures

    • This is the most dangerous downside, especially for servers or automated systems.

      • Many third-party backup tools, zip utilities, and file sync apps (like older versions of IT tools or open-source scripts) still use the legacy 260-character limit internally.
      • If you create a file with a 350-character path, Windows will save it perfectly. But when your backup software runs at night, it might silently skip the file because it cannot read past the 260th character, leaving you without a backup for that data.
  • Broken Network Share Compatibility

    • If you enable long paths on your PC (or a server) and create a massive file path, other users on your network might not be able to access it. If their computers or the network storage device (like an older NAS) don't have long paths enabled, they will get "File not found" or "Path too long" errors when trying to open your files.
  • Inconsistencies within Windows Itself

    • Even within Windows 11, some native components have legacy roots.

      • Command Prompt (cmd.exe): While PowerPoint or Photoshop might open a long-path file fine, trying to move or copy that same file via a basic, old-school batch script in cmd.exe can still trigger path errors unless you explicitly switch to PowerShell or use specialized tools like robocopy.
      • File Explorer: While vastly improved, some deep, nested right-click context menu extensions from third-party apps will break when clicking a file in a long path.

1

u/mazzlejaz25 Sep 18 '26

I see. That's fair too many drawbacks to even bother.

Thank you for explaining. At least now I know there's pretty much nothing that can be done. That's a bummer...

6

u/ITW1824 Sep 18 '26 edited Sep 18 '26

It has always been an issue but has become more prevalent since we moved to cloud backups on OneDrive, it causes the documents and desktop folders to have super long path names, since those are the most common places all of our users are now complaining about it more often. If this is the case with you as well I have been recommending my users set it to their videos folder as that is not set to back up to OneDrive so the path is a normal shorter path. Then copy the videos to the final destination afterwards like you mentioned.

3

u/djzrbz Sep 18 '26

Yup, when OneDrive started auto-syncing the desktop/documents/etc folder automatically it causes this issue.

1

u/platformterrestial Sep 18 '26

Just point exports to Downloads and you should be fine for most users