问题
So I have this code:
echo unknown command: %2. Usage: firefox /del [history|cookies]
it gives me: "cookies]" is not a internal or external command, operable program or batch file. I understand why it gives me this error, but i don't know how to fix it. any ideas?
回答1:
Just so this has an official answer:
The symbol |
in batch is the pipe symbol. Therefore it has to be escaped with the standard escape symbol ^
in batch.
来源:https://stackoverflow.com/questions/41273173/echo-gives-me-an-error