Skip to main content

Delete File

The Delete File component in Robbot RPA allows you to delete a file from the specified directory on the remote desktop. This component provides a convenient way to remove unwanted or obsolete files from the remote desktop.

Parameters

Directory : Specify the directory path where the file is located. Enter the path of the directory that contains the file you want to delete. Type : String

File Name : Enter the name of the file you want to delete. Provide the exact file name along with its extension. Type : String

Result : Returns the status of the file deletion operation. This parameter indicates whether the file deletion was performed successfully (True) or encountered an error (False).. Type : Boolean

Usage

To use the Delete File component in your Robbot RPA project, follow these steps:

Drag and drop the Delete File component into your sequence or workflow.

Configure the component by providing the necessary inputs:

Insert the directory path where the file is located.

Enter the name of the file you want to delete.

Continue building your sequence or workflow by adding other components or actions as needed.

Execute your sequence or workflow. The Delete File component will attempt to delete the specified file from the remote desktop.

Check the Result output parameter to determine the status of the file deletion operation.

By incorporating the Delete File component into your automation workflow, you can easily delete files from the remote desktop, allowing you to manage and clean up unwanted files efficiently.