⇤ ← Revision 1 as of 2023-01-30 02:50:43
Size: 375
Comment:
|
Size: 579
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 19: | Line 19: |
The primary challenge with escaping characters is that every time `cmd.exe` interprets an escaped character, the escape is removed. Commands that will be re-interpretted can require multiple escapes. |
Batch Quoting
Contents
Escaping Characters
Certain characters cause cmd.exe to interpret commands and arguments differently
These characters can be escaped to prevent their misinterpretation. The escape character is caret (^).
set foo=bar ^| baz
The primary challenge with escaping characters is that every time cmd.exe interprets an escaped character, the escape is removed. Commands that will be re-interpretted can require multiple escapes.