It was just a batch script where I had copy/pasted the same line over and over again, no fancy loops.