I am trying to split a large flat file into multiple files using SystemCommandTasklet in Spring Batch. I am retrieving the large file from scality and storing it in the temp directory.
I'm getting the below error: Cannot run program "split" (in directory "C:\Users\myuser\AppData\Local\Temp"): CreateProcess error=2, The system cannot find the file specified
This is a duplicate of the question Using SystemCommandTasklet to split file. But I'm still unable to implement this.
Split works fine in Unix/Linux.
I'm using a windows machine, so does split using SystemCommandTasklet work in windows machine?