echo can be used to control and produce output.
|ON | OFF||Can either be |
|message||Any string (except |
echo.will also display an empty string. However, this is slower than
echo.will search for a file named "echo". Only if this file does not exist will the command work, but this check makes it slower.
echo:will behave just like
messagelooks like a file path, e.g.
echo:foo\..\test.bat. In this case, the interpreter will see
echo:fooas a folder name, strip
echo:foo\..\(because it appears just to enter the directory
echo:foothen leave it again) then execute
test.bat, which is not the desired behaviour.