what is the maximum path length in emFile?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hello,



    emFile does not explicitly limit the depth of a directory.



    There is however one API function which temporarily stores the full path to a directory: FS_CreateDir().

    It uses FS_MAX_PATH define (default: 260 bytes) to allocate the path buffer.



    Also, when emFile is compiled with FS_MULTI_HANDLE_SAFE is set to 1

    the full path to an opened file is stored internally. The maximum number of bytes in the

    path can be specified using the FS_MAX_LEN_FULL_FILE_NAME define (default: 256 bytes).



    Best regards,

    Marius
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.