---
title: "Delete File Step"
url: "https://docs.robotiq.ai/en/article/delete-file-step"
language: "en"
last_updated: "2025-12-25T10:39:11.784Z"
---

# Delete File Step

The Delete File Step gets rid of a specific file on your system. Use it to clean up temporary files or handle documents as part of a process.

## How to Use the Delete File Step

Add this step to your process when you need to delete a file.

### Step 1: Add the Delete File Step

1.  Open your process in the Robotiq.ai Studio.
2.  Drag the **Delete File Step** from the Steps panel into your workflow.

### Step 2: Set the File Path

1.  Click on the **Delete File Step** in your workflow.
2.  In the properties panel, find the **File path** setting.
3.  Type in the full path to the file you want to delete. You can use a string variable or type the path directly.

**Example:** `C:\Users\YourUser\Documents\temp_report.xlsx`

## Parameters Explained

**Step name** (Optional)

-   A custom name for this step in your process.
-   This name shows up on the step box in the editor.

**File path** (Required)

-   The full location of the file you want to delete.
-   You can use a string variable you've already set up that contains the file path.
-   **Example:** `myFilePathVariable` or `"C:\Data\old_file.txt"`

## Related Articles

-   [Delete Folder Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/delete-folder-step)
-   [Rename File Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/rename-file-step)
-   [String Input Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/string-input-step)

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/07b84a1b-4857-4b0c-907e-e6253875a504)
