Pages

echo command in Windows

echo command in Windows?

  • echo is the most common and widely used built-in command for batch scripts and in windows command prompt to display a text or string or standard output(s).
echo Examples:

> Open Command Prompt

To print a text or string, we can use in the below format:


echo
echo

In our system, we have Environment Variables (User variables and System Environment variables). We can get the Path of variables in below format:

ex: echo "%JAVA_HOME%"


echo
echo

Please comment below to feedback or ask questions.


No comments:

Post a Comment

Please comment below to feedback or ask questions.