Formatting in Windows command files (.bat)

If specifying one of the format commands (‑‑format, ‑‑header‑format or ‑‑xml‑format) within a Windows command file (.bat) the % will indicate a variable name will follow, to avoid this then specify the % character twice. For example, an interactive user could use a command such as:

qacli view -P . -m XML --xml-format "%l%c%n%t%G%r"

However, if you wanted this command in a Windows command file it should look like:

qacli view -P . -m XML --xml-format "%%l%%c%%n%%t%%G%%r"