Batch command--rem and Pause

Source: Internet
Author: User

Introduction to the "1" rem command

The comment command, which is equivalent to/*----------in the C language, is not executed, but acts as a comment that makes it easier for others to read and maintain scripts in the future.

For a more specific understanding, see the example:

Create a new text file named Rem, modify the file type to bat, and open the edited content with notepad++:

  1  rem here is the description.    3  echo   4  rem This sentence means to view the status of a command echo   5  echo   off   6  rem This sentence means "Turn off command Echo State   7  echo    8  rem This sentence means to open the command echo State   10   @Rem here is the description.  11  12  pause 

The results of the operation are as follows:

Introduction to the "2" Pause command

  The word "pause" means that it is the simplest command in batch processing, simple and practical. Its role is to let the current program process pause, and display a line of information: Please press any key to continue ...

Good good study,day day up.

Sequential Selection Cycle Summary

Batch command--rem and Pause

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.