ComfyUI Node

dirname

Returns the directory name of a path. This node extracts the directory component from a path, removing the filename.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
dirname
    • dirname
    path
    CategoryBasic/Path

    Inputs (1)

    NameTypeDefaultDescription
    pathSTRING

    Outputs (1)

    NameTypeDescription
    dirnameSTRING