Multiple Commands on Same Command Line

We can execute multiple commands using a single command line. To do this we can separate multiple commands using a semicolon ";" or ampersand "&" symbol. Note that support for internal commands in multiple command on same line was added in FireCMD 1.2 Build 12.

Example: color -b -n black & color -f -n yellow

The above command line will first change the background color to black and font color to yellow. You can even use multiple internal commands and external commands together in the same command line as shown in the image below. Note that all the internal commands are executed before the external commands irrespective of the sequence mentioned.

Multiple commands on same line

Note that you can also use multiple commands in command substitution.