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, 1965🔥, 0💬
Popular Posts:
What is the file extension .IFO on a DVD-Video disc? .IFO is the file extension used on a DVD-Video ...
How to uninstall OpenOffice.org 2.2? If you want to uninstall OpenOffice.org 2.2, you should follow ...
What Is Vundo Related vtsts.dll? 1. From www.bullguard.com/forum/ 8/DowloadTrojan-Virus-vt stsdll_1434...
Where to find tutorials on using Windows 10? I want to learn how to use Windows 10 more efficiently....
How programs are added to the startup application list? There are 3 main ways in which programs are ...