‘>’ and ‘<‘ are special characters in command prompt. They means input and output redirect. So they can’t be directly echoed in command prompt. You need to escape them with ‘^’.
The syntax of the command is incorrect.
The following characters are special and have to be escaped:
<, >, |, &, or ^,