"shift" Command Help Reference

Q

How to get "echo" command help reference?

✍: FYIcenter.com

A

You can run the "shift /?" command to get "shift" command help reference as shown below:

C:\fyicenter>shift /?

Changes the position of replaceable parameters in a batch file.

SHIFT [/n]

If Command Extensions are enabled the SHIFT command supports
the /n switch which tells the command to start shifting at the
nth argument, where n may be between zero and eight.  For example:

    SHIFT /2

would shift %3 to %2, %4 to %3, etc. and leave %0 and %1 unaffected.

 

"start" Command Help Reference

"set" Command Help Reference

Batch Command Help Reference Documents

⇑⇑ Windows Batch File Tutorials

2017-12-09, 364👍, 0💬