You need to sign in to do that
Don't have an account?

Dataloader Command Line - How to feed the JAR Arguments
Though I can execute the dataloader from the command-line with the default settings, and it will work fine as long as my config.properties file is set up, I'm not able to configure it with command-line arguments.
The following command is giving me a login error. But I know for sure my credentials are good. This same operation works successfully when I have the same username,password,and endpoint populated in the config.properties file. Please demonstrate the correct formatting.
C:\temp\sfdataloader>java -jar sforcedataloader.jar -username hxqv_me@mydomain.com_test -password mypassword -operation extract -extractionSOQL "SELECT ID,Name from Account" -endpoint https://test.salesforce.com -extractionTarget account.csv -entity Account
---------
2005-08-16 16:45:59,438 ERROR [main] client.PartnerClient connect (PartnerClient.java:138) - Invalid username or password or locked out.
2005-08-16 16:45:59,448 ERROR [main] LoaderEngineRunner main (LoaderEngineRunner.java:118) - Invalid username or password or locked out.
The following command is giving me a login error. But I know for sure my credentials are good. This same operation works successfully when I have the same username,password,and endpoint populated in the config.properties file. Please demonstrate the correct formatting.
C:\temp\sfdataloader>java -jar sforcedataloader.jar -username hxqv_me@mydomain.com_test -password mypassword -operation extract -extractionSOQL "SELECT ID,Name from Account" -endpoint https://test.salesforce.com -extractionTarget account.csv -entity Account
---------
2005-08-16 16:45:59,438 ERROR [main] client.PartnerClient connect (PartnerClient.java:138) - Invalid username or password or locked out.
2005-08-16 16:45:59,448 ERROR [main] LoaderEngineRunner main (LoaderEngineRunner.java:118) - Invalid username or password or locked out.
Make sure you are supplying required parameters if you are not supplying config directory.
Also supply name=value pairs as parameters. This is working fine for me
java -jar sforcedataloader.jar username=sai_nukala@yahoo.com(youruserid) password=yourpassword timeoutSecs=540 extractionSOQL="Select Id, Name, Type, Ownership FROM Account" extractionTarget=./Account_Extract.csv operation=extract endpoint=https://www.salesforce.com extractionRequestSize=500 timeoutsecs=540 rowToStartAt=0
parameter "entity" is not required for extract operation like mappingFile,....