ComfyUI Node: join

Class Name

Basic data handling: PathJoin

Category
Basic/Path
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

Install this extension via the ComfyUI Manager by searching for Basic data handling
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Basic data handling in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

join Description

PathJoin node combines path components into a valid path, handling OS-specific separators.

join:

The PathJoin node is designed to seamlessly combine multiple path components into a single, coherent path. This node intelligently handles the joining of paths by considering the appropriate directory separators for the operating system in use, ensuring that the resulting path is valid and correctly formatted. This functionality is particularly beneficial when dealing with file systems where paths need to be dynamically constructed from various components, such as directories and filenames. By automating the path joining process, PathJoin simplifies tasks that involve file manipulation and navigation, making it an essential tool for AI artists who need to manage file paths efficiently without delving into the complexities of operating system-specific path conventions.

join Input Parameters:

path1

path1 is the primary path component that you wish to include in the final joined path. It serves as the starting point for the path construction. This parameter is crucial as it forms the base of the path, and its value directly influences the resulting path. The default value is an empty string, which means if no value is provided, the node will not have a base path to work with. There are no explicit minimum or maximum values, but it should be a valid string representing a path component.

path2

path2 is an optional path component that can be appended to path1 to form the complete path. This parameter allows for the addition of further directories or filenames to the base path specified in path1. If provided, it will be intelligently joined with path1 using the correct directory separators. The default value is an empty string, indicating that it is not mandatory to provide this parameter. Like path1, it should be a valid string representing a path component.

join Output Parameters:

path

The path output parameter represents the final joined path resulting from the combination of path1 and path2. This output is a string that reflects the complete path constructed by the node, taking into account the appropriate directory separators for the operating system. The importance of this output lies in its ability to provide a correctly formatted path that can be used for file operations, ensuring that any subsequent file handling tasks are based on a valid and coherent path structure.

join Usage Tips:

  • Ensure that path1 is always provided with a valid path component to serve as the base for the joined path.
  • Utilize path2 to append additional directories or filenames as needed, but remember that it is optional and can be left empty if not required.

join Common Errors and Solutions:

Empty path components

  • Explanation: If both path1 and path2 are empty, the node will return an empty string as the output path.
  • Solution: Always provide at least one valid path component in path1 to ensure a meaningful output.

Invalid path characters

  • Explanation: Providing path components with invalid characters may result in an incorrect or unusable path.
  • Solution: Verify that all path components are free of invalid characters specific to the operating system being used.

join Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

join