What does the word ‘echo’ mean in batch file language?
Question by Keith /

What does the word ‘echo’ mean in batch file language?

Browse other questions & answers in the category ; tagged , ; or ask your own question.

Comments for this Question are closed.

If you are looking for help, please ask a new question.

We will be happy to help you!

Answers (2)
  • Jeffery Fabish

    echo just means to output to the screen.

    Think of it as you being in a hallway. If you talk, you’ll hear an echo. That’s just you talking. In batch, it’s just the script talking.

    echo “hello world” would say “hello world”.

  • Snoodking

    echo is the function that outputs each line of the batch file into the command prompt as it is running.  

    The example would be if the batch command was “shutdown -r -t 0″ (this command will restart your computer immediately) you would see that very thing in the command window, along with the folder path of where your prompt is currently running.  If you started your batch file with “(at symbol with no parentheses)echo off” the command would be invisible in the window, but would still run. It is on by default.

    If it is turned off, you can still use echo to output a line of text on the screen. “echo Have a nice day!” would output “Have a nice day!” in the command window.