I want to print to the console the exact text ">>someText"
I try
echo abb >>"cdd eee"
but that will print nothing and create file cdd
with abb text inside it.
What syntax should I go with echo
for that?
I want to print to the console the exact text ">>someText"
I try
echo abb >>"cdd eee"
but that will print nothing and create file cdd
with abb text inside it.
What syntax should I go with echo
for that?
you have to "escape" special chars like >
with a caret ^
:
echo abb ^>^>"cdd eee"
Use quotes
echo ">> cdd"
Use carat to escape the characters echo ^>^>your text
C:\echo ^>^>"cdd eee"
>>cdd