How do I escape ampersands in batch files?

& is used to separate commands. Therefore you can use ^ to escape the &.

Leave a Comment