Show/Hide Toolbars

Take Command / TCC Help v. 22

Navigation: TCC > Aliases & Batch Files > Batch Files

Batch File Line Continuation

Scroll Prev Top Next More

TCC will combine multiple lines in the batch file into a single line for processing when the Escape Character is the last character of each line to be combined (except the last). For example:

 

c:\> echo The quick brown fox jumped over the ^

sleeping ^

dog. > alphabet

 

You cannot use this technique to extend a batch file line beyond the normal command line length limit.