Command syntax

Although computer users today use the graphical user interface to do most of their work, there are still many tasks that require typing commands or running programs at a command prompt.

For elements that the user must type as they appear in the text, use bold. For elements that are placeholders representing information that the user must supply, use italic.

Note

In text files where formatting is unavailable, substitute all uppercase for bold and all lowercase for italic.

The general form for presenting command syntax is as follows:

sample {+r | r} arguments [options]

where:

Element

Meaning

sample

Specifies the name of the command or utility.

{ }

Indicates a set of choices from which the user must choose one.

|

Separates two mutually exclusive choices in a syntax line. The user types one of these choices, not the symbol.

arguments

Specify a variable name or other information the user must provide, such as a path and file name.

Indicates that the user can type multiple arguments of the same type. The user types only the information, not the ellipsis (…).

[ ]

Indicates optional items. The user types only the information within the brackets, not the brackets themselves.

Microsoft style

chkdsk [volume:][Path] [FileName] [/v][/r][/x][/i][/c][/l:/size]

doskey {/reinstall | /listsize=size | /macros:[{all | exename}] | /history | /insert | /overstrike | / exename=exename | /macrofile=FileName | macroname=[text]}

For more information, see Document conventions, Procedures.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.178.237