Greg Charles wrote:I don't believe there's a platform independent way to do it. As far as I can remember, on Windows it's:
And everywhere else it's:
Thanks for the information. I have tried the same by passing the argument to dataload.bat. Now, I have the task command executed in a batch command as:
When the App-Server is up and running, I'm able to schedule the batch job and in turn it executes my task command and data gets populated in the corresponding tables. The biggest concern is that the subprocess created by exec is not terminating even after completion of data load process. (I can see a cmd.exe process in system tasks and there is a lock file created in the logs directory of data loads)
I tried even proc.waitFor(); How is this to be handled? Thanks again