What does “@” mean in Windows batch scripts

前端 未结 7 1649
遥遥无期
遥遥无期 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:14

    you can include @ in a 'scriptBlock' like this:

    @(
      echo don't echoed
      hostname
    )
    echo echoed
    

    and especially do not do that :)

    for %%a in ("@") do %%~aecho %%~a
    

提交回复
热议问题