+ Start a Discussion

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


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