---
title: "How to create Configuration File using Command Line of Salesforce Data Loader?"  
description: "How to create Configuration File using Command Line of Salesforce Data Loader?"  
author: "John d'souza"  
published: 2018-02-08  
canonical: https://answers.mindstick.com/qa/34229/how-to-create-configuration-file-using-command-line-of-salesforce-data-loader  
category: "salesforce"  
tags: ["salesforce", "dataloader", "command-line", "create configuration file"]  
reading_time: 2 minutes  

---

# How to create Configuration File using Command Line of Salesforce Data Loader?

How to create [Configuration](https://www.mindstick.com/articles/13112/setting-up-the-perfect-configuration-for-your-work-computer) [File](https://www.mindstick.com/articles/59/encrypting-and-decrypting-files-using-c-sharp) using [Command Line](https://www.mindstick.com/interview/477/how-can-i-execute-a-php-script-using-command-line) of [Salesforce](https://www.mindstick.com/articles/12736/exploring-the-usage-and-benefits-of-salesforce-for-businesses) [Data](https://yourviews.mindstick.com/view/84027/what-does-google-do-with-your-data) [Loader](https://www.mindstick.com/forum/156609/create-loader-with-bootstrap)?

## Answers

### Answer by Tarun Gautam

In Salesforce the **Data Loader [Command](https://www.mindstick.com/interview/36/what-is-the-use-of-alter-table-command-in-database)-Line Interface** available in the **Salesforce Classic** and **Lightning Experience**. Salesforce having different editions and the data loader command-line interface available in its all edition like; Developer Edition, Enterprise Edition, Unlimited Edition, and also Database.com edition.And Note that, The **Data Loader command-line interface** is only available and supported for Windows only.\
![How to create Configuration File using Command Line of Salesforce Data Loader?](https://answers.mindstick.com/questionanswer/7be89ba1-fc78-4c37-9bf6-b0ca38c09824/images/949654b0-f774-4bc8-b7f8-038df7199e7f.png)\
\
Using the command line interface is used for automated batch operations like every night at a scheduled time scheduling loads and extractions, and run Data Loader from the command line. Before executing any batch operation, be sure to include your encrypted password in the configuration file. To get more information go to the Data Loader Command Line Introduction and Encrypt from the Command Line.\
**From the command line, go to the bin directory and enter process.bat, it will take the following parameters:**

- In the bin directory, we find the **config.properties** file.
- And the name of the batch process bean contained in **process-conf.xml**.

\

Now, the **log-conf.xml** file is included for the windows installer **the Data Loader** **version 35.0**. for more information about the process.bat, go to the link Run Individual Batch Processes. For viewing tips and instructions, add **– help** to the **command contained in process.bat**.

\

Data Loader runs any operation, file, or map is specified in the configuration file that we specify, and if we don’t specify a configuration directory, **then the current directory will be used. By default configuration files are installed in the following location**:\

```
C:\Program Files\Salesforce\Data Loader version number\conf
```

\
We use the **process-conf.xml** file to configure batch processing. Set the name of the process in the bean elements id attribute, like see the example:

```
<bean id = “myProcessName”>
```

\
Now, if we want to implement to enhance logging, and use a copy of log-conf.xml. We can change parameters at runtime by providing **param=value** as a program argument. For example, adding **process.operation=insert** to the command changes the configuration at runtime.


---

Original Source: https://answers.mindstick.com/qa/34229/how-to-create-configuration-file-using-command-line-of-salesforce-data-loader

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
