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