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
SFDC_DeveloperSFDC_Developer 

How to schedule data loader

Below is my bat file which is used to schedule data export from data loader but on running this I am getting "The system cannot find the path specified" error.
 
@echo off
SET DLPATH=”C:\Program Files\salesforce.com\Data Loader”
SET DLCONF=”C:\Users\abcdef\Desktop\CLIDataloader”

REM Initiating the BatchLoad
REM AccountExtract
CALL %DLPATH%\Java\bin\java.exe -cp %DLPATH%\dataloader-28.0.1-uber.jar -Dsalesforce.config.dir=%DLCONF%  com.salesforce.dataloader.process.ProcessRunner process.name=AccountExtract

Exit


Below code is working but I want to make my file more dynamic like file name based on date
 
@echo off
CD C:\Program Files\salesforce.com\Data Loader\bin
process.bat "C:\Users\abcdef\Desktop\CLIDataloader" AccountExtract