BAT Batch Vision Statement

Source: Internet
Author: User

Write bat in the same batch and stare at the function should be used. This program is for readability


In batch processing , there is a more common way to gaze at a node:

goto start
= can be multiple lines of text, can be a command
= Ability to include redirection symbols and other special characters
= Just not include: Start this line, it's all staring.
: start


In addition, there are various other gaze formsExample:

1,:: Gaze content (after the first colon can also be followed no matter what a non-alphanumeric character)
2. REM Gaze content (redirection symbols and pipe symbols cannot appear)
3 . echo Gaze content (cannot appear redirection symbols and pipe symbols) 〉nul
4 . if not exist nul gaze content (redirection symbols and pipe symbols cannot appear)
5 . : Gaze content (the gaze text cannot be the same as the existing tag)
6,% stare content%(can be used as between lines staring. redirection symbols and pipe symbols do not appear)
7 . goto Tag Gaze content (it can operate as described using goto conditions and content)
8 , : Tag gaze content (it can be used to run the following paragraph content label)


BAT Batch Vision Statement

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.