Documentation Help for SHIFT Command

Apr 18, 2014
On the documentation page for SHIFT (TCC > Commands > Shift) I'm confused by the figures given. The first line says it allows the use of more than 512 parameters in a batch file. But just below that, under "usage" it says CMD can only handle 10 parameters and TCC supports 4096 parameters.

I suspect some limits in TCC have been changed and the help hasn't been updated to match.
Rex, why should one not use SHIFT, and what should one do instead? I have batch files that use it when I want to cycle through multiple command-line arguments with DO WHILE ... process %1 ... SHIFT ENDDO.

Similar threads