Get file path part Action(Power Automate Desktop)
This action specifies a file path and retrieves the directory or file name.
Contents
How to use.
Get file path part Action from File onto the workspace.

Set parameters.

Parameters
File path
Specify the target file.
If the file may already exist in the specified path, it is also useful to check for its exists and deal with it.

Variables produced

The result column describes the result with the file path "C:\test\test2\Test1.txt".
Variable | Description | Result |
---|---|---|
RootPath | Get the root path of the file. | C:\ |
Directory | Gets the directory name of the file. | C:\test\test2 |
FileName | Gets the file name. | Test1.txt |
FileNameNoExtension | Gets the name of the file without extension. | Test1 |
FileExtension | Gets the file extension. | .txt |
---
Discussion
New Comments
No comments yet. Be the first one!