A couple of years ago, i tested different buffer sizes in Java to optimize speed when copying data from hdd to hdd (using streams):
In that tests it was optimal to use the disk buffer size of the hdd (physical drive, not the windows driver), but the speed loss is minimal if you use more, or only half of this value, so 2 MB should be optimal for most drives.
Because i don't know the exakt implementation of the used redirection (">"), you better should verify this value for "your batch".
If the maximal used cache size of the cmd.exe redirection implementation is 8 KByte, then this may be the optimal value.
penpen
SplitFile.bat: Split large text files in a very fast way
Moderator: DosItHelp