If you ask TPIPE to split a file at N lines and the number of lines in the file is a multiple of N, you get an extra 0-byte file. Below I asked it to split the 4-line file at 2 lines.
You also get an extra 0-byte file if you ask it to split at size N and the file size is a multiple of N. Below I asked it to split the 22-byte file at 11 bytes.
v:\> echo My^r^ndog^r^nhas^r^nfleas. > doggy.txt v:\> dir /k /m doggy* 2013-06-01 00:51 22 doggy.txt v:\> tpipe /input=doggy.txt /split=2,0,0,0,0,2,doggy.txt v:\> dir /k /m doggy* 2013-06-01 00:51 22 doggy.txt 2013-06-01 00:53 9 doggy.txt.000 2013-06-01 00:53 13 doggy.txt.001 2013-06-01 00:53 0 doggy.txt.002
v:\> del doggy.txt.0* Deleting V:\doggy.txt.000 Deleting V:\doggy.txt.001 Deleting V:\doggy.txt.002 3 files deleted v:\> tpipe /input=doggy.txt /split=0,11,.,0,0,2,doggy.txt v:\> dir /k /m doggy* 2013-06-01 00:51 22 doggy.txt 2013-06-01 01:02 11 doggy.txt.000 2013-06-01 01:02 11 doggy.txt.001 2013-06-01 01:02 0 doggy.txt.002