Data type:File(Power Automate Desktop)

08/29/2023

Japanese version.

Power Automate Desktop treats files as variables of a unique data type.

How to use

Variables of this data type are retrieved by the following Actions.

Variables can be used to specify files as they are.

property to get the information attached to a file.
The example below retrieves the file size.

Properties

PropertyNotation in Sort byDescriptionExample
.FullNameFull nameThe full path of the file. If no property, it is treated as if it were the full path.C:\test\Test.xlsx
.NameNameFilename with extension.Test.xlsx
.ExtensionExtensionExtension only..xlsx
.NameWithoutExtensionName without extensionFilename without extension.Test.xlsx
.DirectoryDirectoryDirectory where files are stored.C:\test\
.RootPathRoot pathRoot path of the file.C:\
.SizeSizeFile size.(in bytes)Numeric
.CreationTimeCreation timeDate and time the file was created.Datetime
.LastModifiedLast modifiedThe date and time the file was last modified.Datetime
.LastAccessedLast accessedThe date and time the file was last read.Datetime
.IsHiddenIs hiddenTrue if the file is hidden, False if the file is visible.True or False
.IsSystemIs systemTrue if the file is a system file, false otherwise.True or False
.IsReadOnly.Is read-onlyTrue if the file is read-only, false otherwise.True or False
.IsArchiveIs archiveTrue if the file is an archive, false otherwise.
This is a Windows archive function and not a compressed file format such as Zip.
True or False
.ExistsExistsTrue if the file exists, False if the file does not exist.True or False
.IsEmpty-True if the file is empty (0 bytes), false if the file is not empty.True or False

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.