It displays messages or turns command echoing on or off.
It is commonly used in a Batch file scripting.
Command can be run using Microsoft Windows XP Command Prompt (cmd.exe)
To view 'echo' command with its all possible parameters you can use following command. Its like help information to regarding that command.
It is commonly used in a Batch file scripting.
Command can be run using Microsoft Windows XP Command Prompt (cmd.exe)
To view 'echo' command with its all possible parameters you can use following command. Its like help information to regarding that command.
echo /?
Syntax :
ECHO [ON | OFF]
ECHO [message]
Use :
p1.bat
echo off
echo dinesh
echo technoexam.com
echo tforteach.com
echo on
echo "After making echo on !"
pause
The above batch file script when execute, it executes commands one-by-one. When Echo gets OFF then it does not Echo commands on the screen.
p1.bat
echo off
echo dinesh
echo technoexam.com
echo tforteach.com
echo on
echo "After making echo on !"
pause
The above batch file script when execute, it executes commands one-by-one. When Echo gets OFF then it does not Echo commands on the screen.
Output :
D:\ > echo off dinesh technoexam.com tforteach.com D:\ > echo "After making echo on !" "After making echo on !" D:\ > pause Press any key to continue . . . _
No comments:
Post a Comment