Home  >  Article  >  Backend Development  >  Handling echo and @echo control command methods

Handling echo and @echo control command methods

小云云
小云云Original
2018-03-19 11:32:452330browse

This article mainly shares with you the methods of processing echo and @echo control commands. I hope it can help you.

echo and @echo control commands

@                 #Close single-line echo
echo off           #Close echo from the next line
@echo off #Turn off echo starting from this line. The first line of general batch processing is this
Echo On#from the next line to open the back display Echo#display is currently echo off status or echo on status
echo. Refers to the blank line
echo hello world #Output hello world

"Turn off echo" means that when running the batch file, each command in the file is not displayed, only the running result. The system is automatically turned on at the beginning and end of batch processing.

Related recommendations:

Detailed explanation of the abuse of echo statements in PHP

Based on the detailed explanation of the difference between using commas and dots for echo in php

Detailed explanation of the difference between using commas and dots for echo in php

The above is the detailed content of Handling echo and @echo control command methods. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn