This article describes the notation that command-line syntax blocks use, such as the brackets, braces, and vertical bars that indicate how to enter a command. It isn't a catalog of commands or command options. To find a command and the options it supports, see Windows Commands. In the A-Z menu, select the letter that the command starts with, and then select the command name to view its options.
The following table describes each notation element.
| Notation | Description |
|---|---|
| Text without brackets or braces | Items you must type as shown. |
<Text inside angle brackets> |
Placeholder for which you must supply a value. |
[Text inside square brackets] |
Optional items. |
{Text inside braces} |
Set of required items. You must choose one. |
| Vertical bar (` | `) |
Ellipsis (…) |
Items that can be repeated and used multiple times. |
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
