ntcmds.chm mentions
under concepts.."cmd shell overview"
&& Use to run the command following && only if the command preceding the symbol is successful
So you can do
C:\>echo a && echo a
added
& is more appropriate as an answer than &&
here from ntcmds.chm
& "Use to separate multiple commands on one command line. Cmd.exe runs the first command, and then the second command."
&& "Use to run the command following && only if the command preceding the symbol is successful. Cmd.exe runs the first command, and then runs the second command only if the first command completed successfully. "
(it's a boolean short circuit AND)
|| "Use to run the command following || only if the command preceding || fails. Cmd.exe runs the first command, and then runs the second command only if the first command did not complete successfully (receives an error code greater than zero)."
(it's a boolean short circuit OR i.e. given the expression "A or B" where A and B are boolean values of TRUE or FALSE, it only needs one to be true, so if A is true it won't go as far as B because it won't need to, in order to make its evaluation)