{"title":"Create File/Folder Variables","nodeType":"Other","id":"*EgOX1gHkh6df_n56","factoryName":"org.knime.filehandling.utility.nodes.createpaths.CreatePathVariablesNodeFactory","factoryId":"org.knime.filehandling.utility.nodes.createpaths.CreatePathVariablesNodeFactory","path":["IO","File Folder Utility"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>This node allows to create <a href=\"https://docs.knime.com/latest/analytics_platform_file_handling_guide/index.html#path\" rel=\"ugc nofollow noopener noreferrer\">path flow variables.</a> This is done by selecting a base folder and then defining a list of paths pointing to files/folders relative to the base folder. After executing the node the specified list of paths is accessible for subsequent nodes via flow variables.</p>\n             \n            <p><i>Note:</i> The default base folder is the <a href=\"https://docs.knime.com/2021-06/analytics_platform_file_handling_guide/index.html#working-directory\" rel=\"ugc nofollow noopener noreferrer\"> working directory</a> of the <a href=\"https://docs.knime.com/2021-06/analytics_platform_file_handling_guide/index.html#relative-to\" rel=\"ugc nofollow noopener noreferrer\"> workflow data area</a> , as defined by “.“ in the Folder field.</p>\n             \n            <p><i>This node can access a variety of different</i> <a href=\"https://docs.knime.com/2021-06/analytics_platform_file_handling_guide/index.html#analytics-platform-file-systems\" rel=\"ugc nofollow noopener noreferrer\"> <i>file systems.</i> </a> <i>More information about file handling in KNIME can be found in the official</i> <a href=\"https://docs.knime.com/latest/analytics_platform_file_handling_guide/index.html\" rel=\"ugc nofollow noopener noreferrer\"> <i>File Handling Guide.</i> </a></p>\n            \n        \n        ","shortDescription":"Creates paths to files/folders and exposes them as flow variables.","keywords":[],"deprecated":false,"streamable":false,"tags":["IO","File Folder Utility"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2Vo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o+iH8d9VXOFWqNCDS4vgeZK8a0vhFV64DAAF5g1LKYCIHxeZP3zJtruf6vrYX2wwB6B5rAak6EklnaJHQtTErgJ9WU3PUdmNpTzXvCEppq2xL0+DoHxLggmWG7ZrV0GYQRVQjCvGPxX8RmDVp/NAuLJfwPtBhO7N+kS4M4ETVoLqW9LCUxK3guqbRBSh3LVR/WWI1jkaXT0bkhvh2Oyh08DTo9GAbSN7xgGcP+zbSLtz8BZgAFPvj3ykTNOcAAAAAElFTkSuQmCC","views":[],"inPorts":[{"objectClass":"org.knime.core.node.port.flowvariable.FlowVariablePortObject","color":"ff4b4b","dataType":"Flow Variable","optional":true,"name":"Input variables (optional)","description":"Input variables (optional)."}],"outPorts":[{"objectClass":"org.knime.core.node.port.flowvariable.FlowVariablePortObject","color":"ff4b4b","dataType":"Flow Variable","optional":false,"name":"Flow Variables with path information","description":"Flow Variables with path information."}],"dynInPorts":[{"groupName":"File System Connection","groupDescription":"The file system connection.","types":[{"objectClass":"org.knime.filehandling.core.port.FileSystemPortObject","color":"178ba5","dataType":"File System"}]}],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"sectionName":"Options","fields":[{"name":"Folder","description":"Select a base folder for your paths.","optional":false},{"name":"File/Folder variables","description":"A list of file/folder locations that will form a path with the selected base folder. Enter the name of the flow variable in the <i>Variable name</i> column and write the name of the file/folder in the <i>Value</i> column. In case of a file also fill in the <i>File extension</i> column. These will be added to the path shown in the <i>Base location</i> column.\n<ul><li><b>Variable name</b> : The name of the path variable.</li><li><b>Path</b> : The path relative to the temporary directory.</li><li><b>File extension</b> : Optional file extension (e.g., .txt, .csv). Leave empty for folder variables.</li></ul>","optional":false}]}],"links":[{"text":"KNIME Documentation: Creation and usage of flow variables in a KNIME workflow","url":"https://docs.knime.com/ap/latest/analytics_platform_flow_control_guide/#flow-variables"}],"kudos":[{"accountId":"account:user:017e7033-aadc-46bd-aef4-1bafb23fa6b4","user":"davidrs049","date":"2025-02-26T01:16:57+00:00"},{"accountId":"account:user:65715000-0497-4e34-91a7-fc3552c707ce","user":"jamiu_alade_01","date":"2025-08-20T15:51:25+00:00"}],"kudosCount":2,"bundleInformation":{"bundleVersion":"5.12.0.v202605041104","bundleName":"KNIME Filehandling Nodes","bundleSymbolicName":"org.knime.filehandling.utility.nodes","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.base","featureName":"KNIME Base nodes","featureVersion":"5.12.0.v202606261225","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*bjR3r1yWOznPIEXS"},"frequentSuccessors":[]}
