lehighwiz
22nd January 2003, 15:44
I have created a batch file that starts and runs a specific baan session and i was hoping to automate the process with windows task scheduler. When I physically click on the batch file, everything works perfectly. Whenever i try to automate the task with windows scheduler, it appears to have run, but in reality it did not. Has anyone had experience with this before? Here is my syntax for the batch file:

@echo off

start e:\Progra~1\Baan\bin\bw.exe ia01.bwc tuddc5220m000

:end

thanks in advance for any help.

Matt

andrew.page
22nd January 2003, 16:50
I had the same problem

I had to put in the full path of the bwc file also - like this

start e:\baan\bin\bw e:\baan\lib\user\baan101.bwc -- -set BSH_JOB=%1 -set BSH_JOBOK="%2" -set BSH_FRSES="%3" ttaad5203m000

lehighwiz
22nd January 2003, 16:52
thanks for the reply...i will try that right now.

thanks

matt