FreeDOS help system (hhstndrd 1.0.8 en)[shift]

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.




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


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 and needs no other file in order to work.


- 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.