What does “@” mean in Windows batch scripts

前端 未结 7 1793
遥遥无期
遥遥无期 2020-12-02 07:12

I saw @ is used in such contexts:

@echo off

@echo start eclipse.exe

What does @ mean here?

7条回答
  •  长情又很酷
    2020-12-02 07:28

    By default, a batch file will display its command as it runs. The purpose of this first command which @echo off is to turn off this display. The command "echo off" turns off the display for the whole script, except for the "echo off" command itself. The "at" sign "@" in front makes the command apply to itself as well.

提交回复
热议问题