# Get File Info

> `UiPath.Core.Activities.GetFileInfoX`

`UiPath.Core.Activities.GetFileInfoX`

Retrieves the properties of a specified file and saves the information for later use in the project. When you then use the saved information in another activity, you select one of the file properties as **Input:** **Size** (in bytes), **Name** (file name including extension), **Full Name (includes full path)**, **Folder** (full path to the folder containing the file), **Last modified date**, **Last accessed date**, **Created date** (dates including time), **IsReadOnly** (TRUE or FALSE), **Size in KB**.

## Configuring the Activity

#### **In the Body of the Activity**

* **File path** - Click **Browse** ![](https://dev-assets.cms.uipath.com/assets/images/activities/activities-image-browse_files-1431ef7d.png) next to the field and then browse to and select the file for which to retrieve information. Alternatively, you can click **Plus** ![](https://dev-assets.cms.uipath.com/assets/images/activities/activities-image-plus_menu-8e75b25b.png) on the right side of the field and then, from the menu, choose one of the available options to indicate the path of the file:
  + If the activity is inside a For Each File in Folder activity, you can select **CurrentFile** &gt; **Full Name (includes full path)** to indicate the path of the file you are currently iterating through.
* Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file, and then select a cell that contains a file path.
  + **Use Saved Value** - Select a value in the form of a file path that you previously saved for later use in the project.
  + **Text** - Enter a file path in the Text Builder. To add dynamic paths, you can combine text with Excel formulas selected using the **Plus** ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-image-plus_menu-8e75b25b.png) menu in the Text Builder. For example, for a file downloaded daily that includes the current date in the name, you can add the date to the file name using a formula in the default Project Notebook.
  + **Ask when run** - Prompt for a file path when the project is executed.
  + **Open in Advanced Editor** - Enter a VB expression.
* **Output to** - Click **Plus** ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-image-plus_menu-8e75b25b.png) on the right side of the field and then, from the menu, select **Save for Later Use** to use the output result later in your project as input for another activity. Alternatively, you can select **Open in Advanced Editor** and enter a VB expression.

#### **In the Properties Panel**

#### **Common**

* **DisplayName** - The name displayed for the activity in the Designer panel.

#### **Input**

* **Path** - See **File path** [in the body of the activity](https://docs.uipath.com/activities/other/latest/workflow/get-file-info-x#get-file-info).

#### **Misc**

* **Private** - If selected, the data used in the activity is not logged by StudioX.

**Output**
* **Output to** - See **Output to** [in the body of the activity](https://docs.uipath.com/activities/other/latest/workflow/get-file-info-x#get-file-info).
