REM — Do nothing

Synopsis

REM [/?] [anything]

Options

/?
Display command syntax information.

Description

The REM command ignores its arguments and does nothing (except for when printing on-line help in response to the /? option). It is used for "remarks" in command scripts.

Note: Because REM is a command, redirection still occurs, and command separator characters will be respected and will start a new command. To create a remark where redirection does not occur, and command separator characters are ignored, use the double colon instead. This does not match the behaviour of the 16-bit CMD supplied with IBM OS/2, which ignores rediection for REM commands. But it does match that of the original COMMAND supplied with OS/2 and with DOS, and is also consistent with the way that all other commands work.


The 32-bit Command Interpreter is © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.