Collections:
Other Resources:
"@" - Stop Echoing the Command
How to stop echoing the command when running in a batch file?
✍: FYIcenter.com
By default, when a command is executed in a batch file,
the command will be echoed on the screen before the execution.
You can stop this default behavior by starting the line with @ as shown in this batch file, quiet.bat:
rem Public comment - Show it on the screen rem Show command and output echo %random% @rem Private comment - Don't show this comment @rem Don't show the next, just show the output @echo %random%
if you run the above batch file, you get:
C:\fyicenter>Quiet.bat C:\fyicenter>rem Public comment - Show it on the screen C:\fyicenter>rem Show command and output C:\fyicenter>echo 11066 11066 9102
As you can see on the screen, all command lines started with @ are not echoed on the output.
⇒ "echo on|off" - Control Echo Setting
⇐ Batch File Structure and Syntax
2021-07-10, 2095🔥, 0💬
Popular Posts:
What is "Microsoft Policy Platform Local Authority" in my Windows 7 service list? And how is "Micros...
Why am I getting errors when starting Apache server to load PHP as a module with php5apache2.dll? If...
I have two internet connection and 1 DLink Load Balancing router. Can anyone tell me that what is th...
Downloading and Installing vStrip "vStrip" is one the most powerful DVD ripper and VOB file processi...
What is the "IP Helper (iphlpsvc)" system service on Windows Server 2012? Can I disable "IP Helper"?...