Ability to copy files with paths exceeding 255 characters without errors

Avatar
  • updated
  • Completed

Currently TeraCopy cant copy files with a path that exceeds 255 characters. Can you change the underlying copy mechanism to use Windows' "Robocopy" command so it can successfully copy paths that exceed 259 characters without any errors?

Avatar
angus black

I have the same question. I don't see the option in 3.9.2. 

I do see the setting in v2.3 but the setting is ignored. Path\File names over 255 characters get truncated anyway.

Avatar
Kyle

This doesn't seem to work as intended, when copying the files from a long path it appears to shorten them to things like "_S680B~1"

I have long path support enabled in my registry and as a group policy, I'm copying from a local drive into a network share over NFS. The native windows copy dialog appears to preserve the names just fine as well.

Avatar
Code Sector
  • Started
Avatar
Kevin04

This is the reason I won't switch to TeraCopy 3 yet.

There is an option in TeraCopy 2.3 to set this:

Image 173

It's also documented here: https://help.codesector.com/en/knowledge-bases/2/articles/411-configuration-file

MaxPathLimit=1
0: Allow to create extra long paths (> 255 characters).

This setting is not exposed anywhere in the TeraCopy 3 GUI and setting it directly in the ini file seems to get ignored, so it looks like it hasn't been implemented at all.

I have also configured my Group Policy in Windows 10 to enable Long Paths via the Win32 API, but this doesn't help either. I've checked the manifests and neither TeraCopy versions seems to support this. May be an easy way to enable this functionality at least for the people who use this setting.

More info here: https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation#enable-long-paths-in-windows-10-version-1607-and-later

So I'll stick with 2.3 for the time being. The setting doesn't work perfectly there - in fact, I can't get it to work with Windows Explorer - but it does work well enough with my Directory Opus integration.

When I reach the limit, I get an UAC prompt that I can confirm or ignore, works either way. I also get a warning from TeraCopy when trying to move files, but confirming it with Yes works.