Skip to main content

Get Files in Directory Action

Get Files in Directory Action gets all the file paths in a specified directory. It scans the given directory and returns a list of file paths, which is stored in a variable for use in subsequent actions such as loops or file operations.

Appearance

In Talos, Get Files in Directory Action appears as a standard rectangular node with a folder-tree icon.

Get Files in Directory Icon

Properties

As all Actions, Get Files in Directory Action has a few unique properties that are essential for its functionality.

Common properties

Common properties inherited from Action.

Display NameString
This is the display name of the action.

By customizing this property, you can differentiate between same type of actions.

Action IDString
Indicates the unique ID of this action.

This property is Read only and it is not customizable

DisabledBoolean
If set to true, this action is considered disabled and will not be executed.
DirectoryExpression
The directory to get files from.

See more about Talos Scripting language & Expressions

tip

This property supports expressions. You can use variable references to dynamically resolve the directory path at runtime.

Examples

Assuming a declared String variable with name rootDir.

${rootDir}
"C:/Users/Documents"
"C:/Projects/" + ${rootDir}
Files List VariableString
Variable to hold the files in the specified directory.