Comments for this Question are closed.
If you are looking for help, please ask a new question here.
We will be happy to help you!
Comments for this Question are closed.
If you are looking for help, please ask a new question here.
We will be happy to help you!
2 Answers -
Snoodking
June 17, 2011echo 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.
Jeffery Fabish
June 17, 2011echo 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”.