Number of Characters in UNC Path
    • 13 Jun 2024
    • 1 Minute to read
    • Contributors
    • PDF

    Number of Characters in UNC Path

    • PDF

    Article summary

    The standard default maximum length for a UNC path in the File Output Port is 260 characters for Windows API.

    A local path is structured as follows:

    C:\Lasernet\Output\

    or

    \\<Local machine>\<Local path>\

    Local Computers

    For local computers, an extended-length path can be supported for a maximum total path length of 32.767 characters. To specify an extended-length path, you can use a prefix:

    \\?\C:\<Very long local path>\

    or

    \\?\<Very long local path>\

    Shared Network Drives

    To support extended-length paths for shared network drives, ensure you are using Lasernet 6.7.6, Lasernet 7.1 or above and type: '\\?\UNC\<Server>\<Path>\'.

    Additional information

    See MSDN for details about file and path restrictions.

    Required module: File Output