Search file Version 11 (net)
Action group: File system
Description
The action searches for a file in the system according to a template. Returns the full path to the found file.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Folder path | The path to the folder in which to search | Robin.FolderPath | C:\doc\img | Yes |
File name | The name of the file with extension to be found. To search, you can use masks with special characters: «?» – 1 character or its absence, «*» – any number of characters. | Robin.String | Yes | |
Recursive | If the value is «true», then the search will be performed in subfolders, otherwise - only in the specified one. | Robin.Boolean | true | No |
Results | ||||
Result | List of file paths that match the search conditions. If no files were found, the result is an empty collection | Robin.Collection |
Special conditions of use
None.
Example of use
Task
In the folder you need to find a file named "Log.txt".
Solution
Use the "Search file" action.
Implementation
- Move the "Search file" action to the workspace
- Set the parameters of the "Search file" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The file was found in the folder.
Обзор
Инструменты контента