Annotator in bat

Source: Internet
Author: User

The comment of batch processing is:

Rem

By the way, this is the case, and the following will not be approved. Usage:

Rem starts to open the program Loop

 

In batch processing, segment annotations are commonly used:

Goto start
= It Can Be multi-line text or a command
= Can contain redirection symbols and other special characters
= As long as the line "start" is not included, it will all be comments.
: Start

In addition, there are other forms of annotations, such:
1.: Comment content (the first colon can also be followed by any non-alphanumeric character)
2. Rem comments (redirection and pipeline symbols are not allowed)
3. echo comments (redirection and pipeline symbols are not allowed)> NUL
4. if not exist NUL annotation content (the redirection and pipeline symbols cannot appear)
5. Comment content (the comment text cannot be duplicated with existing labels)
6.% comment content % (can be used as line comment and cannot contain redirection or pipeline symbols)
7. Goto tag annotation content (it can be used to describe the Goto conditions and execution content)
8. Tag annotation content (which can be used as the execution content of the lower part of the tag)

Reference from: http://blog.sina.com.cn/s/blog_605f5b4f0100okdq.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.