clear is not recognized as an internal or external command
This command, clear
may exist in other code, but not in batch code.
If you mean the command need to clear the screen, use cls
. That will clean the screen.
The message is completely correct; no such command exists.
Did you mean cls
?