JdeBP<p><span class="h-card" translate="no"><a href="https://mastodon.social/@cks" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cks</span></a></span> <span class="h-card" translate="no"><a href="https://s.djehuti.com/@ben" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ben</span></a></span> </p><p>In contrast to : for comments which is an abuse of label syntax in command scripts, the REM command in Microsoft's/IBM's COMMAND and CMD is indeed exactly that, a bona fide command.</p><p>So it has the twist that REM /? is not actually a comment line. It's a request for the on-line help of the REM command.</p><p>It's more special cased in <a href="https://tty0.social/tags/TakeCommand" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TakeCommand</span></a> than in <a href="https://tty0.social/tags/CMD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CMD</span></a>, interestingly, in that redirections are not parsed.</p><p><a href="https://jpsoft.com/help/rem.htm" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jpsoft.com/help/rem.htm</span><span class="invisible"></span></a></p><p><a href="https://learn.microsoft.com/en-gb/windows-server/administration/windows-commands/rem" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">learn.microsoft.com/en-gb/wind</span><span class="invisible">ows-server/administration/windows-commands/rem</span></a></p><p><a href="https://tty0.social/tags/4DOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>4DOS</span></a> <a href="https://tty0.social/tags/4OS2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>4OS2</span></a> <a href="https://tty0.social/tags/4NT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>4NT</span></a> <a href="https://tty0.social/tags/COMMAND" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COMMAND</span></a></p>