function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AlexCRMmanagerAlexCRMmanager 

Apex Data Loader command line syntax help for Windows

I'm trying to set up a batch upsert process to run automatically in Windows, but I can't seem to get the command line syntax for "process.bat" correct. Here is what I have tried:

C:\Onvia>c:\dataloader\bin\process ../config onviaLeadUpsertProcess

which is (I think) the syntax in the Apex Data Loader documentation, but the command line gives me the error message:

The system cannot find the path specified.

But when I run just:

C:\Onvia>c:\dataloader\bin\process

it outputs the instructions embedded in the "process.bat" file. Does anyone know what I need to do to get the "process.bat" command to work?

AlexCRMmanagerAlexCRMmanager
I figured it out - I needed to run the command from within the \bin directory, not the directory where the data resides:

C:\dataloader\bin>process.bat c:\onvia\config onviaLeadUpsertProcess
tggagnetggagne

I'm glad to find you figured it out.  Imagine how ugly my scripts will be with the dataloader in C:\Program Files\salesforce.com\Apex Data Loader 20.0\bin, and my configuration and export files in C:\Users\Thomas\Documents\SQL Server Management Studio\Projects\ccl\testdata\.