You are viewing the RapidMiner Studio documentation for version 10.1 - Check here for latest version
Create Directory (RapidMiner Studio Core)
Synopsis
This operator creates a directory at the specified location.Description
The Create Directory operator creates a directory at the chosen location in the file system, if the folder does not already exist. If the inserted path does not exist the needed folders are created.
Input
- through (Data Table)
It is not compulsory to connect any object with this port. Any object connected at this port is delivered without any modifications to the output port. This operator can have multiple inputs. When one input is connected, another through input port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The object supplied at the first through input port of the Create Directory operator is available at the first through output port.
Output
- through (Data Table)
The objects that were given as input are passed without changing to the output through this port. It is not compulsory to attach this port to any other port, the directory is created even if this port is left without connections. The Create Directory operator can have multiple outputs. When one output is connected, another through output port becomes available which is ready to deliver another output (if any). The order of outputs remains the same. The object delivered at the first through input port of the Create Directory operator is delivered at the first through output port
Parameters
- locationThe location where the new directory is build is specified through this parameter. Range: file
- nameThe name of the new directory is specified through this parameter. Range: string
Tutorial Processes
Creating a new directory
The Create directory operator is inserted in the process. The location parameter is set to '%{tempdir}/new' and the name parameter to 'folder'. Run the process and a folder named 'folder' is created inside the newly created folder 'new' in a temp folder on your computer.