The following operations can be performed on "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.
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
batch -f cmds.txt