I required to Echo following information but I am getting error.
echo Mumbai & Banglore
But I am getting error as follows,
'Banglore' is not recognized as an internal or external command,
operable program or batch file.
I required to Echo following information but I am getting error.
echo Mumbai & Banglore
But I am getting error as follows,
'Banglore' is not recognized as an internal or external command,
operable program or batch file.
You can change your command on this way to escape the ampersand:
echo Mumbai \& Banglore
or use single quotes
echo 'Mumbai & Banglore'
In case of use cmd (Windows) you can use caret:
echo Mumbai ^& Banglore