SHIFT

The SHIFT internal command is used with BATCH processing to access more 
than 10 replaceable parameters.  SHIFT cannot be executed directly from 
the keyboard. 

BATCH files are normally limited to handling 10 parameters, %0 
through %9. The SHIFT command allows you to deal with more parameters.
SHIFT shifts the value for replaceable parameter "n" into parameter 
"n-1". For instance, if %0=A and %1=B and %2=C, after a SHIFT command 
then %0=B, %1=C, and %2 is now null. Another SHIFT would make %0=C, etc.

SAMPLE SHIFT use	      | Comments about the BATCH file

  :LOOP				Assume that you wanted to be able to use
  IF x%1==x GOTO ALLDONE	DEL with more than one filename. This
  DEL %1			BATCH file would use the first value to
  SHIFT				delete a file, and then shift the next
  GOTO LOOP			value into first place, and continue until
  :ALLDONE			all the files had been deleted.
