Search K
Appearance
Appearance
Parses a file path and returns its individual components — directory, file name, extension, and parent folders — as separate output variables.
Use Get File Info when a workflow receives a full file path and downstream tasks need to act on specific parts of it. For example, you may need the base name to use as a record key, the extension to decide whether a file is eligible for processing, or the list of parent directories to build a corresponding archive path. This task removes the need to perform string operations on the path manually.
| Field | Type | Required | Description |
|---|---|---|---|
| File Path | Text | Yes | The full or relative path to the file. Relative paths are resolved to their absolute equivalent. |
| Name | Description |
|---|---|
| FullPath | The absolute path of the file. |
| Directory | The directory portion of the path, excluding the file name. |
| FileName | The file name including its extension. |
| BaseName | The file name without its extension. |
| Extension | The file extension, including the leading dot (e.g. .pdf). |
| ParentFolders | A list of folder names from the immediate parent up to the root, ordered nearest-first. |
| Field | Value |
|---|---|
| File Path | C:\Reports\monthly_summary.pdf |
| FullPath | C:\Reports\monthly_summary.pdf |
| Directory | C:\Reports |
| FileName | monthly_summary.pdf |
| BaseName | monthly_summary |
| Extension | .pdf |
| ParentFolders | ["Reports", "C:"] |