Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Documentation Help for SHIFT Command

Apr
393
13
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

Replies
1
Views
2K
Back
Top