> For the complete documentation index, see [llms.txt](https://docs.roboteasy.tech/studio-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboteasy.tech/studio-en/studio/objetos/arquivos/rename-file.md).

# Rename File

It renames the desired file

## Settings

To use this object, simply select the desired file and enter the new name.

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FnPt4OArz7uemQhOpEs0o%2Fimage.png?alt=media&amp;token=bde3ebe3-dd24-4443-bd10-dbf74a6f09d1" alt=""><figcaption><p>General object layout</p></figcaption></figure>

**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: "Rename File - New Data".                                                                             |
| 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 be renamed                                                                                                                                                                                                                      |
| New Name               | New file name                                                                                                                                                                                                                                  |

{% hint style="warning" %}
To avoid incorrect renaming, it's essential to include the file extension in the new name, otherwise the file will be renamed without its extension, as demonstrated in the example below.
{% endhint %}

## USE CASES

* Use it to rename the desired file.&#x20;
* If it's necessary to rename a file with an incorrect name in automation.&#x20;
* Better organization of automation files.&#x20;
* To ease files identification and their contents.

## Example

Rename a desired file in the same directory with another name.

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FYNBl1hoxlxA4LyEiY22v%2Fimage.png?alt=media&amp;token=d9020002-080e-4403-a1bf-0bceb7265aa2" alt=""><figcaption><p>Rename File robot setting</p></figcaption></figure>

**STEP 1:** To set Rename File.

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FPMOos1GIU7sV3UyncHhB%2Fimage.png?alt=media&amp;token=afddeb19-d4c7-42fa-887d-74a96e4d395a" alt=""><figcaption><p>Rename File setting</p></figcaption></figure>

**STEP 2:** Run the robot and check the actions

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FUAzfuvCuY1fQPccurofZ%2Frename%20file.gif?alt=media&amp;token=a23d1674-0683-4541-a803-7f1de3495ae8" alt=""><figcaption><p>Successful Robot Execution - Rename File</p></figcaption></figure>

## Download It:

{% file src="/files/njDzKjSRXNXlIVCLUnC0" %}
