Common directives: echo Command, @ command, call command, pause command, REM command
echo Command:
Syntax: Echo [On|off] [Message]
function: Displays the message, turns on or off the echo function of all instructions , displays the current echo settings.
① uses echo without any parameters to view the current echo settings
Echo
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/76/03/wKioL1ZIW37gAyd4AAAIdW5dM3Q739.png "title=" 1.png " alt= "Wkiol1ziw37gayd4aaaidw5dm3q739.png"/>
② plus parameter (message) to display a message
Echo Hello,dos
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/76/03/wKioL1ZIXAKjqwo0AAAIgvHMCSY282.png "title=" 1.png " alt= "Wkiol1zixakjqwo0aaaigvhmcsy282.png"/>
③ plus parameter to turn (on) or off (off) Echo
echo off
Echo
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/76/03/wKioL1ZIXMngODmoAAAJU5cxFpM507.png "title=" 1. PNG "alt=" Wkiol1zixmngodmoaaaju5cxfpm507.png "/>
Echo Complete Example:
Echo
Echo Hello,echo1
echo off
Echo
Echo Hello,echo2
echo on
Echo
Echo Hello,echo3
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/03/wKioL1ZIXnKgQJt0AAAo_iYYZaQ096.png "title=" 1.png " alt= "Wkiol1zixnkgqjt0aaao_iyyzaq096.png"/>
2 [email protected] directive
Features: this directive turns off Echo
instruction :@ [command]
Example:
Echo hello,@1
@echo hello,@2
Echo hello,@3
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/76/03/wKioL1ZIYjKQe3F_AAAaDrYS9MM920.png "title=" 2.png " alt= "Wkiol1ziyjkqe3f_aaaadrys9mm920.png"/>
This article is from the "Execute" blog, so be sure to keep this source http://executer.blog.51cto.com/10404661/1712932
Common directives for DOS batch processing (i)