The echo command on windows CMD ask me if I want more

Solution 1:

Here's a doc on the command prompt echo command (it's an XP document, but the echo command hasn't changed much since DOS). Long story short, the caret charactor ^ is an escape character used with the echo command if you want to print a pipe or redirection symbol (| or <> respectively).

Example:

echo ^^^|^>^<^|^^

will output:

^|><|^

(using 2 ^ in a row (like so ^^) will print a literal ^).

If you use it at the end of a line in a batch file, it can be used as 'line continuation', example:

file echotest.bat contains:

echo Hello from ^
the next line

when run will output:

Hello from the next line

The More? is echo asking if there's more input (like a pipe or redirection symbol, or just more text).

Hope that helps.