Adware Spyware (7)
DOS Commands (1)
Internet Explorer (217)
Media Center (12)
Media Player (11)
Mozilla Firefox (18)
Windows 10 (166)
Windows 7 (636)
Windows 8 (1091)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (52)
"@" - Stop Echoing the Command
How to stop echoing the command when running in a batch file?
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
⇑ Introduction of Windows Batch File
2021-07-10, 1535👍, 0💬
Can I disable Windows service "Apache Tomcat" to speedup my computer? Third party service "Apache To...
How to configure IIS to support PHP scripts on your Windows system? If you want to support PHP scrip...
How to configure Apache server to run PHP engine as CGI on Windows systems? If you have followed our...
A collection of 24 tutorials on removing Windows startup programs to gain performance and reduce sec...
What is NicConfigSvc.exe process - Internal Network Card Power Management Service? Process nicconfig...