File Information

To use this object, simply select the file you want to retrieve the information from.

Settings

Para utilizar esse objeto basta selecionar o arquivo que deseja buscar as informações.

General Object Layout

Filling in the object:

Field
Description

Title

It's the object name and doesn't need to be changed, unless you want to identify it to make it easier to find on the robot, for example: "File Information - Creation Time".

Object Identifier Name

It's a object unique identifier and doesn't need to be changed, but you can rename it if you want to find it more easily when using it on other objects. Just remember that this name must be unique and without spaces or special characters.

File

File that will contain the collected information

INTERPOLATION

This is a technical concept used in programming and you don't need to worry about changing it at this point.

TYPES OF RETURN

Property
How To Get

File Name

.FileName

File Path

.Path

File Extension

.Extension

Directory Name

.DirectoryName

Directory Path

.DirectoryPath

Return true if the file exists

.Exists

Creation Time

.CreationTime

Last Acess Time

.LastAcessTime

USE CASES

  • To search for a file information within the directory.

  • If it is necessary to check various information about a file and then carry out some new automation in the robot.

  • Extraction of information to use in automation.

Example

Search for file information in a desired directory with two types of message box returns.

ITEMS USED IN THE ROBOT
  • Objects: Message Box

  • Folder: Simple Directory.

  • File: Simple File.

STEP 1: To set File Information.

File Information setting

STEP 2: To set Message Box.

Message Box setting

STEP 3: Run the robot and check the actions.

Successfully Execution Robot Example - File Information

Download It:

Last updated

Was this helpful?