Skip to main content
All CollectionsTeraCopy for WindowsFAQ
Does TeraCopy support long filenames?
Does TeraCopy support long filenames?
Updated over a week ago

Path limit

TeraCopy is capable of handling long paths with up to 32,000 characters by automatically adding '\\?\' before the path when opening files.

In recent Windows versions, Microsoft introduced a new policy to remove the limitation of 260 characters for NTFS paths. However, it is not enabled by default. You must enable it through the Group Policy Editor or the Registry.

Through Group Policy Editor:

  • Run gpedit.msc to open the Group Policy Editor.

  • Navigate to Computer Configuration -> Administrative Templates -> System -> Filesystem.

  • Find the setting Enable NTFS long paths. Double-click it and set it to Enabled.

Through Registry (if Group Policy Editor is not available):

  • Open Registry Editor by running regedit.

  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.

  • Look for a key named LongPathsEnabled. If it doesn’t exist, create a new DWORD (32-bit) Value named LongPathsEnabled.

  • Set the value of LongPathsEnabled to 1.

Filename limit

The maximum length for just the filename in Windows, not including the path, is 255 characters. This limit applies to the name of the file itself, including its extension (e.g., "document.txt"). This constraint is part of the file system specifications for both NTFS and FAT file systems, which are commonly used in Windows operating systems.

Did this answer your question?