Share this page

# Batch utility scripts

The batch utility scripts allow you to use the Micro Focus Connect capabilities more efficiently.

In this topic:

## General run notes

The following notes apply to all batch scripts:

- Each batch file should be run as Administrator.

- The complete syntax for a batch script is mfc<script_name>[.bat|.sh], depending on your operating system. For example, to run the Purge script on Windows, use mfcPurge.bat in your syntax. For simplicity, this documentation only refers to the script name, without the mfc prefix and without the extension.

- The scripts modify the Micro Focus Connect database.

- For most of the scripts, you should stop the Micro Focus Connect server, run the script, and then restart the Micro Focus Connect server. For details, see Batch utility scripts.

- The following scripts can run without stopping the Micro Focus Connect server: DataSourceUsers, QueryTemplates, RunOneIteration, StartConnection, and Audit.

Note: If the script contains a placeholder value, for example, ConnectionName, you must edit it in a text editor and replace the placeholder value with your own value. Make sure to use the exact case-sensitive names for your values. To retrieve an accurate list of your connection names, run mfcQueryStatus.bat. From the generated list, copy and paste the exact name of the connection into your script.

Back to top

## Batch scripts by category

The batch scripts are located in the utilities folder under the Micro Focus Connect installation.

For an explanation and examples of the commonly used scripts, see one of the following sections:

- Connection scripts

- Data source scripts

- Synchronization and mapping scripts

- Maintenance scripts

Back to top

https://admhelp.microfocus.comMicro Focus Connect8942
Tips to improve your search results... Micro Focus Connect Help CenterMF Connect Help23.4AllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion: