dirname

Basic data handling: PathDirname

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

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
pathSTRINGrequired

Outputs (1)

NameType
dirnameSTRING