Try to work around too long command line length, did work for me with e.g. kio.
@dfaure @alex
Perhaps you have better ideas, I failed beside resorting to use either a script or some POSIX shell things that will not do the job on Windows.