Show/Hide Toolbars

Take Command / TCC Help v. 21

Navigation: TCC > Command Line

Multiple Commands

Scroll Prev Top Next More

You will often know the next two or three commands that you want to execute. Instead of waiting for each one to finish before you type the next, you can type them all on the same command line, separated by the command separator (by default, an ampersand &). For example, if you know you want to copy all of your .TXT files to D:\TEXT and then delete all of them beginning with 'A', you could enter the following command:

 

copy *.txt d:\text\ & del a*.txt

 

You may put as many commands on the command line as you wish.

 

You can use multiple commands in alias definitions and batch files as well as from the command line.