" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
SHIFT Command
Changes in setting of reference parameters
Let's consider how to address the 10th, the 11th, etc. parameters of
the batch file.
Syntax: SHIFT [number]
This command lets shift all reference parameters left by a number. For
instance, if number=1 (or is not specified) then the old value of %0 is
lost; old value %1 is changed for %0, old %2 - new %1, etc. The tenth
reference parameter becomes %9. Now substitution pairs will look like that:
"%0" for "parm1"; "%1" for "parm2"; ... ; "%9" for "parm10".
If a number is present and it is not equal to 1, the above procedure is
repeated "number" times. If the numbered parameter is not specified in the
command line, then it is substituted for a blank string. The number cannot
exceed 225.