Support for long file names
Support for long file names is enabled by default in
Helix Core Server
versions 2015.2 or later. For older versions of Helix Core Server, you can
enable long filename support on the server with the
filesys.windows.lfn
configurable.
The server root or client root cannot be a long path.
Set filesys.windows.lfn
to 1
to support
filenames longer than 260 characters on Windows platforms. A file name
length of up to 32,767 characters is allowed. Each component of the path
is limited to 255 characters.
To set on the server, use a command like the following:
C:\> p4 configure set filesys.windows.lfn=1
Depending on the depth of your workspace path, you might also need to set this configurable on the client and/or proxy (which acts as a client). To set the configurable for a proxy, use a command like the following:
C:\> p4 set -S "Perforce Proxy" P4DEBUG=filesys.windows.lfn=1