FreeDOS help system (hhstndrd 1.0.8 en)[_cmdshif]

Command: shift

SHIFT changes the position of replacable parameters in a batch file. (Used to shift the replaceable batch file parameters). SHIFT is a BATCH-FILE / AUTOEXEC.BAT command.

Syntax:

SHIFT [DOWN]

Options:

DOWN shifts the argument window toward the beginning (%0); otherwise toward the end.

Comments:

Using down, %0 takes the value that %1 took, and so on. Otherwise, %2 takes the value that %1 took, etc. SHIFT is a command internal to command.com and needs no other file in order to work.

Examples:

- none -

See also:

autoexec.bat batch files ------------------------------------------------------------------------------ Copyright (C) 2003 Robert Platt, updated 2007 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.