Take Command / TCC Help v. 13.03

Echoing in Batch Files

Hide Navigation Pane

Echoing in Batch Files

Previous topic Next topic No directory for this topic No expanding text in this topic  

Echoing in Batch Files

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

By default, each line in a batch file is displayed or "echoed" as it is executed. You can change this behavior, if you want, in several different ways:

 

OnestepAny batch file line that begins with an @ symbol will not be displayed.

 

OnestepThe display can be turned off and on within a batch file with the ECHO OFF and ECHO ON commands.

 

OnestepThe default setting can be changed with the SETDOS /V command, or the Default Batch Echo configuration option.

 

For example, the following line turns off echoing inside a batch file. The @ symbol keeps the batch file from displaying the ECHO OFF command itself:

 

@echo off

 

TCC also has a command line echo that is unrelated to the batch file echo setting. See ECHO for details about both settings.

Comments (...)