Saturday, March 17, 2012

Automation of Data Loader From Command prompt for Salesforce


This post is for Data Loading using command prompt, I have already shared the required files for this automated process in "Data Loader Using Command Prompt",here  I will be sharing how to run this in command prompt.

For running in command prompt we need "Process.bat" file which can be accessed in
"C:\Progam Files\salesforce.com\DataLoader\bin"

Okay for your testing purpose create a test folder with any name say " Test " and copy down all the required files that I have mentioned in the "Data Loader Using Command Line" post.

Now open Command prompt and navigate to "bin" folder in command prompt then run the "Process.bat" file with the syntax

Process.bat "Path to the Test folder" <Bean Id for the process that we are going to execute>

ex: Process.bat "C:\Progam Files\salesforce.com\DataLoader\Test\" AccountExtractProcess

That's it now you can do CRUD operations from Command Line ..

No comments:

Post a Comment