If ; characters must be passed through as part of an executable command line - such as when invoking the PowerShell CLI with -Command and ;-separated PowerShell statements - they must be escaped as \;, which is worth mentioning explicitly - especially given that this escaping need applies even to ; characters inside (embedded) "..." - for an example, see https://superuser.com/q/1840766/139307
Type of issue
Missing information
Feedback
If
;
characters must be passed through as part of an executable command line - such as when invoking the PowerShell CLI with-Command
and;
-separated PowerShell statements - they must be escaped as\;
, which is worth mentioning explicitly - especially given that this escaping need applies even to;
characters inside (embedded)"..."
- for an example, see https://superuser.com/q/1840766/139307Page URL
https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows
Content source URL
https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/command-line-arguments.md
Author
@nguyen-dows
Document Id
0d5d0fe3-01ef-66e8-263d-a0a7852ffa7a