# Delete Salesforce Records in Batch Mode

The CopyStorm/Medic Delete Salesforce Records tool has the ability to run batch mode without the need of opening the application GUI and click through the steps of the tool. Execution of the tool in this manner requires a CopyStorm/Medic configuration file that already has all desired configuration options and filters selected and saved. For more information regarding the setup of this tool, see [here](https://learn.capstorm.com/reference/copystorm-medic/delete-salesforce-records).

{% hint style="warning" %}
When executing the Delete Salesforce Records tool through the CopyStorm/Medic GUI, there is a security pop-up that requires users to type the name of the target Salesforce org before beginning the deletion process. This security feature does NOT occur when executing in batch mode.
{% endhint %}

**Example Usage**

This example is for Windows installations of CopyStorm/Medic. For Linux/Mac installations, change *CopyStormMedic.bat* to *CopyStormMedic.sh*

```
CopyStormMedic.bat -tool deleteTool -run "/path/to/config.copyStormMedic"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.capstorm.com/reference/copystorm-medic/delete-salesforce-records/delete-salesforce-records-in-batch-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
