Skip to content
Was this article helpful?

batch

The following operations can be performed on "batch":

batch

Use this command to read the contents of a file and execute each line as a separate CLI command. Each command in the file must be on a separate line. Lines starting with # are considered comments.

Synopsis

batch -fileName [-outfile ] [-ntimes ]

Arguments

fileName The name of the batch file.

outfile The name of the file where the executed batch file will write its output. The default is standard output.

ntimes The number of times the batch file will be executed. Default value: 1 Minimum value: 0

Output

response

Example

batch -f cmds.txt

Was this article helpful?