in batches, segment annotations have a more common approach:Goto Start=can be multiple lines of text, which can be commands=can contain redirection symbols and other special characters= As long as it does not contain: Startthis line, it's all a comment.: StartIn addition, there are various other forms of annotation, such as:1.::Comment content (the first colon can also be followed by any non-alphanumeric character)2.REMComment content (cannot appear redirection symbols and pipe symbols)3.EchoComment content (cannot appear redirection symbols and pipe symbols) 〉nul4.if not existnul comment content (cannot appear redirection symbols and pipe symbols)5.: Comment Content(note text cannot be the same as an existing tag)6,% comment content% (can be used as an inline comment and cannot appear with redirection symbols and pipe symbols)7.GotoLabel Comment content (can be used as a condition for stating Goto and execution content)8.: LabelComment Content (can be used as the execution content of the section below the label)
Transferred from: http://blog.csdn.net/wh_19910525/article/details/8125762
(GO) bat batch Comment statement