Previous Topic: 命令行选项与参数Next Topic: 作业排定程序向导 - 命令页


命令行语法字符

在命令行语法中,某些字符与格式有着特殊的意义与含义。本文档中的命令行语法使用以下字符格式:

方括号 [ ]

方括号 ( [ ] ) 表示里面的元素(参数、值或信息)是可选的。您可以选择一个或多个条目,也可以不选。不要将方括号本身也输入到命令行中。

示例:[global options], [source arguments], [destination arguments]

尖括号 < >

尖括号 ( < > ) 表示里面的元素(参数、值或信息)是必需的。您需要用相应的信息来替换尖括号里面的文本。不要将尖括号本身也输入到命令行中。

示例:-f <filename>, -printer <printer name>, -repeat <months> <days> <hours> <minutes>, date access <mm/dd/yyyy>

省略号 Arcserve Backup...

The ellipsis symbol of three periods ( ...) means "and so on" and indicates that the preceding element (parameter, value, or information) can be repeated several times in a command line.

示例:-jobid <job id1, job id2, job id3,...>, [-exitcode <exit code 1>,<exit code2>,<exit code3> ...]

管道 |

管道符号(竖线)含义是“或者”,它表示在一个元素内的一个选项。如果两个参数由管道符号分隔开,您可以选择分隔符左边的元素,也可选择分隔符右边的元素。在一次命令使用中不可同时选择两个元素。在方括号中,这些选项是可选的。在尖括号中,至少需要一个选项。

示例:-ca_backup [-custom|-rotation|-gfsrotation], -excludeday <Sun|Mon|Tue|Wed|Thu|Fri|Sat>, -runjob <start|stop>

斜体

斜体文本表示您必须通过相应的值提供的信息。它是一个要用值来替换的选项或参数。

示例:-sessionpassword session password, -f <filename>, -printer <printer name>

Note:Command line syntax, including user names, passwords, and file names used in UNIX and Linux platforms are case-sensitive.例如,commandline、CommandLine 和 COMMANDLINE 是不一样的。