Frame challenging the OP, it actually does something specific: it sets ERRORLEVEL to 0. If used on the beginning of a command batch, you might need to spell it if you do not want the dummy command itself to be echoed to the standard output but that's not special to the echo command.Ĭd. That dot does not get printed, echo state is not altered. works even with input/output redirection. Today (in cmd.exe) it starts a comment, so it is only usable at the end of a command line any redirection would end up commented out, too.Įcho. Rem is great, and in times it used to be a command, so it worked even with input/output redirection. It works well at the end of the command line. Listing from best to excels in length and in doing nothing. There is no single answer as to which dummy command is shortest, because there are several different purposes (contexts) for the dummy command that may lead to different choices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |