Get file path part Action(Power Automate Desktop)

Japanese version.

This action specifies a file path and retrieves the directory or file name.

How to use.

Get file path part Action from File onto the workspace.

Set 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".

RootPathGet the root path of the file.C:\
DirectoryGets the directory name of the file.C:\test\test2
FileNameGets the file name.Test1.txt
FileNameNoExtensionGets the name of the file without extension.Test1
FileExtensionGets the file extension..txt

For those who want to learn Power Automate Desktop effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.


File Actions