Command description
Get the files directly inside the specified folder and save their full paths to a list.
| input parameters | Input parameter type | Description |
|---|
| Folder Path | str | Full path, for example C:\xx |
| Hidden Files | bool | Whether to include hidden files |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|
| File List | list[str] | |
Edge Cases
- The command reports an error if Folder Path does not exist or is not a folder.
- Only direct child files are returned. Subfolders are excluded, and the search is not recursive.
- When Hidden Files is False, hidden files are excluded. If no files match, the command returns an empty list.
Example