> 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/eliminar-arquivo.md).

# Delete File

Object to delete a file.

## Settings

To use this object, simply select the file you want to delete.

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FCodRoFNfh0U6t3W0DlDe%2Fimage.png?alt=media&amp;token=ed6cac49-feef-4602-be43-71ce42086a15" 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: "Delete File - Company File".                                                                         |
| 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 to be deleted.                                                                                                                                                                                                                            |

## USE CASES

* Use it to delete desired file.&#x20;
* If it is necessary to delete files with data extracted in the automation.&#x20;
* If you want to eliminate unwanted files in automation.

## Example

Deleting desired file in chosen directory.

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FG42xmy71CRlmWoRJMlKM%2Fimage.png?alt=media&amp;token=df3de05c-8a3e-46e7-90b3-41ba88fde9c7" alt=""><figcaption><p>Example Robot Configuration - Delete File</p></figcaption></figure>

**STEP 1:** To set Delete File.&#x20;

<figure><img src="https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq5KHpWgHEwo0MpHCFtAb%2Fuploads%2FGUeiDEuyLEnGPIK6FhA5%2Fimage.png?alt=media&amp;token=7952d140-75ac-4903-b2a5-0a376cb8f556" alt=""><figcaption><p>Delete 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%2FAwuhoPekmVJYT5PjXWDi%2Fdelete%20file.gif?alt=media&amp;token=68280b37-013c-490d-ab66-6309e472f310" alt=""><figcaption><p>Successful Execution Robot Example - Delete File</p></figcaption></figure>

## Download It:

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