1. Echo
Display the status of the current ECHO: echo on or echo off
2. Echo on
When the echo status is set to on, the command line is displayed, that is, the preceding c: \> similar flag is displayed ,:
3. Echo off
When the echo status is set to off, the command line is not displayed, that is, the preceding c: \> is similar. Like other functions, you can also enter commands, the command result can also be displayed ,:
4. Echo string
Display the input string on the CMD screen.
5. Echo string & Echo string...
To display multiple rows of data, as shown in:
6. Echo string> file path and file name
Write the string to the file. If data already exists in the file, it is automatically cleared before writing. :
(1)
(2)
(3)
7. Echo string> file path and file name
Write the string to the file. If the file already contains data, append the string to the end of the file. :
(1)
(2)
(3)
S
8. (echo string & Echo string…)> File Path and file name
Write multi-row data into the file (note that the brackets cannot be removed. If the brackets are removed, only the last one can be written, and the previous one will be output in the CMD window. If data already exists in the file, it is automatically cleared before being written.
9. (echo string & Echo string…)> Path and file name
Write multi-row data into the file (note that the brackets cannot be removed. If the brackets are removed, only the last one can be written, and the previous one will be output in the CMD window. If data already exists in the file, append the string to the end of the file.
10. (echo string)> file path and file name
Append the string to another line in the file. :
(1)
(2)
(3)