ComfyUI > Nodes > ComfyUI-Path-Helper > Add Folder

ComfyUI Node: Add Folder

Class Name

Add Folder

Category
path_helper
Author
Billius-AI (Account age: 800days)
Extension
ComfyUI-Path-Helper
Latest Updated
2024-05-22
Github Stars
0.02K

How to Install ComfyUI-Path-Helper

Install this extension via the ComfyUI Manager by searching for ComfyUI-Path-Helper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Path-Helper 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

Add Folder Description

The Add Folder node appends a folder name to a path, aiding in organized file management.

Add Folder:

The Add Folder node is designed to streamline the process of creating new directory paths by appending a specified folder name to an existing path. This node is particularly useful for organizing files and directories in a structured manner, allowing you to dynamically generate paths for storing outputs or organizing datasets. By automating the path creation process, the Add Folder node helps maintain a clean and organized file system, which is essential for efficient data management and retrieval. Its primary function is to concatenate a given folder name to a specified path, resulting in a new path that can be used for various file operations.

Add Folder Input Parameters:

path

The path parameter is the base directory to which the new folder name will be appended. It serves as the starting point for the new path creation. This parameter is crucial as it determines the location in the file system where the new folder will be created. There are no specific minimum or maximum values for this parameter, but it should be a valid directory path that exists in your file system.

folder_name

The folder_name parameter specifies the name of the folder to be added to the given path. This parameter allows you to define the name of the new directory that will be created. It is a string input, and while there are no strict limitations on its length, it should adhere to the naming conventions of your operating system. The default value for this parameter is an empty string, which means no folder will be added if left unchanged.

Add Folder Output Parameters:

PATH

The PATH output parameter represents the newly constructed directory path that results from appending the folder_name to the path. This output is crucial as it provides the complete path to the newly created directory, which can then be used for further file operations such as saving files or organizing data. The output is a string that reflects the full path in the file system.

Add Folder Usage Tips:

  • Ensure that the path parameter points to an existing directory to avoid errors when creating the new folder.
  • Use descriptive and meaningful names for the folder_name parameter to maintain an organized file structure and make it easier to locate files later.

Add Folder Common Errors and Solutions:

Invalid path

  • Explanation: The specified path does not exist or is not a valid directory.
  • Solution: Verify that the path parameter points to an existing directory in your file system and correct any typos or errors in the path.

Invalid folder name

  • Explanation: The folder_name contains characters that are not allowed by the operating system.
  • Solution: Ensure that the folder_name adheres to the naming conventions of your operating system and does not include any prohibited characters.

Add Folder Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Path-Helper
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.

Add Folder